Re: 4K vs 8K stacks- Which to use?

From: Justin Piszcz
Date: Sat Jul 03 2004 - 09:46:06 EST


does it matter?
Well the option is available :)

why do you think it would be processor-specific?
Well I know IA32 is limited to a 4096 byte page size in the Linux Kernel; hence filesystems can only use 4KB blocks on IA32, therefore I was wondering if anything might change in 64bit land?

On Sat, 3 Jul 2004, Mark Hahn wrote:

I use an array of machines with all sorts of CPU's (but no 64bit CPU's
yet):

Which should I use for each CPU?

does it matter? 4k stacks are primarily for benchmark machines
under high load, where smaller stacks mean more threads available,
and less chance of failing to allocate two contiguous pages.

Which is better and why?

can't possibly matter for any normal use.

Pentium 1 CPU's
Cyrix P150 (120MHZ)
Pentium 2 CPU's
Pentium 3 CPU's
Pentium 4 W/HT
Pentium 4 W/OUT HT

why do you think it would be processor-specific?

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