Re: slab.c change request
Manfred Spraul (manfreds@colorfullife.com)
Fri, 28 Apr 2000 22:57:12 +0200
"Mr. Berkley Shands" wrote:
>
> on big machines (> 256mb RAM), there is sometimes a need to
> allocate large chunks of contiguous memory
> (gigabit network cards, etc) a 1.2Gb/sec network card
> can hit the PCI bus at 95-107 MByte/sec. a 768 MB P3-600
> can buffer up to 6 seconds of data :-) Really now,
> a 256K buffer will not handle that data rate. Make it reasonable
> at 2MBytes.
>
get_free_pages() would support 2 MB blocks.
BUT:
When do you want to allocate these blocks?
during boot-up, or later?
Except during boot-time, you should avoid allocating > PAGE_SIZE
contiguous memory.
--
Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/