Re: slab.c change request

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Fri Apr 28 2000 - 15:57:12 EST


"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/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:15 EST