Re: CONFIG_HIGHMEM4G and 1GB RAM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 28 Apr 2007 21:26:42 +0100 "Bradley Chapman" <[email protected]> wrote:
>> Basically, all I want to know is whether or not enabling
>> CONFIG_HIGHMEM4G for a laptop that has exactly 1GB of RAM will result
>> in any performance degradation.

On Mon, Apr 30, 2007 at 12:17:55AM -0700, Andrew Morton wrote:
> I would expect the advantages of the additional 128MB to considerably
> outweigh the cost of turning on CONFIG_HIGHMEM4G.
> That cost will be a little extra CPU consumption inside the kernel, but the
> great majority of CPU consumption usually happens in userspace anyway.

The CONFIG_VMSPLIT config options were merged for such cases.

It should be able to split on any 4MB-aligned boundary in
CONFIG_HIGHMEM4G. CONFIG_VMSPLIT_3G_OPT appears to do something of
this sort to use an entire 1GB RAM with minimal user address space
reduction.

This is an ELF ABI violation but the number of major applications
that break is apparently low.


-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux