Arjan van de Ven <arjan@infradead.org> writes:See the links I posted and quote in an earlier message up the thread if you don't remember what you wrote yourself. I originally only hold up the fragmentation argument (or rather only argued against it), until I was corrected by both Ingo and you in the earlier thread and you both insisted that 50k threads were the real reason'd'etre for 4k stacks. You're saying that was wrong and the fragmentation issue was really the real reason for 4k stacks? If both you and Ingo can agree on that I would be happy to forget the 50k threads :) On a 32bit kernel? My estimate is that you need around 32k for a functional blocked thread in a network server (8k + 2*4k for poll with large fd table and wait queues + some pinned dentries and inodes + misc other stuff). With 20k you're 625MB into your lowmem which leaves about 200MB left on a 3:1 system with 16GB (and ~128MB mem_map). That might work for some time, but I expect it will fall over at some point because there is just too much pinned lowmem and not enough left for other stuff (like networking buffers etc.) 10k sounds more doable. But again do 4k more or less make a big difference with the other thread overhead? I don't think so. And trading reliability (and functionality -- you basically have to cut off XFS)just for 4k/thread doesn't seem like good bargain to me. Especially with kernel code getting more complicated all the time. Well if it is that serious a problem surely it will have hit some public bugzillas or mailing lists? Arguing with something secret is also not very useful. Also I find it always important to reevaluate assumptions when new facts come up. In this case we should reevaluate a decision that made sense[1] in 2.4 with the new facts of 2.6 (e.g. new VM with much better reclaim) [1] refering to the fragmentation argument, not the 50k threads which were always unrealistic. -Andi --
| Jeremy Fitzhardinge | [PATCH 08 of 36] x86_64: Add gate_offset() and gate_segment() macros |
| Eric Sandeen | [PATCH 0/4] (RESEND) ext3[34] barrier changes |
| Arjan van de Ven | Top 10 kernel oopses for the week ending January 5th, 2008 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Joakim Tjernlund | git-svn set-tree bug |
| Brandon Casey | Re: git-commit fatal: Out of memory? mmap failed: Bad file descriptor |
| Junio C Hamano | Re: [QUESTION] about .git/info/grafts file |
| Sam Song | Fwd: [OT] Re: Git via a proxy server? |
| carlopmart | About Xen: maybe a reiterative question but .. |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Diana Eichert | OpenBSD on decTOP? |
| OpenBSD@BG1 | Migrate to OpenBSD + OpenBGP |
| Anselm Lingnau | File creation date in UNIX (was: Re: VMS) |
| Tao Jiang | Source of setterm |
| Dave `geek' Gymer | WARNING (was Re: New afio release) |
| erc | HARDWARE COMPATIBILITY LIST |
| ptrace and big kernel lock | 20 minutes ago | Linux kernel |
| SMDK2410 LCD Framebuffer driver | 5 hours ago | Linux kernel |
| Resetting the bios password for Toshiba Laptop | 6 hours ago | Hardware |
| Problem booting a barebone kernel in VMWare | 9 hours ago | Linux kernel |
| IP layer send packet | 13 hours ago | Linux kernel |
| PID to ELF image full path | 16 hours ago | Linux kernel |
| types of kernel | 1 day ago | Linux kernel |
| magical mounts | 2 days ago | Linux kernel |
| Problem in scim in Fedora 9 | 2 days ago | Linux general |
| The new Western Digital power saving drives | 2 days ago | Hardware |
