On Sunday 20 April 2008 16:01:46 Andi Kleen wrote:At 12 threads per request it'd only take about 4200 outstanding requests. That is high, but I can see it happening. At 24 threads per request the number of outstanding requests it takes to reach that is cut in half, to about 2100. That number is more realistic. Since all outstanding requests aren't going to be at the extremes, let us assume that it's a mid-point between the two for the number of outstanding requests - say somewhere around 3150 outstanding requests. While that is a rather high number, if a company - a decently sized one - is using a piece of Java code internally for some reason they could easily have that level of requests coming in from the users. For a website with a decent load that routes a common request to the machine running the code it'd be even easier to hit that limit. So yes, 50K threads *IS* actually pretty easy to reach and could be a common workload. Just makes you sound foolish. Run the numbers yourself and you'll see that it is easy for a machine running highly threaded code to easily hit 50K threads. <snip> Due to me screwing up the configuration of Apache (2) and MySQL I have seen a machine I own hit problems with memory fragmentation - and it's running a 2.6 series kernel (a distro 2.6.17) Because I was able to see that it was a problem I caused I didn't even *THINK* about posting information about it to LKML. I didn't keep the logs of that around - it happened more than three months ago and I clean the logs out every three months or so. DRH -- Dialup is like pissing through a pipette. Slow and excruciatingly painful. --
| Ingo Molnar | Re: x86: 4kstacks default |
| Stephen Rothwell | Re: Announce: Linux-next (Or Andrew's dream :-)) |
| Trent Piepho | [PATCH] [POWERPC] Improve (in|out)_beXX() asm code |
| Rafael J. Wysocki | [Bug #10919] [regression] display dimming is slow and laggy - Acer Travelmate 661lci |
git: | |
| Linus Torvalds | Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49 |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
