[lkml]   [2008]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Does process need to have a kernel-side stack all the time?

    > no, the primary motivation Arjan and me started working on 4K stacks and
    > implemented it was what Denys mentioned: i had a testcase that ran
    > 50,000 threads before it ran out of memory - i wanted it to run 100,000
    > threads. The improved order-0 behavior was just icing on the cake.

    I checked the original changelog and it mentions both with the
    dumb reason covered in one sentence and the stall issue deserving
    a full paragraph.

    Well frankly that was a dumb reason then. Ok I hadn't imagined you
    both really spent time on something dumb :) The stall reason
    at least made some sense, although I suspect it is obsolete by now.

    My objection to the 100k threads would be less that they
    shouldn't be needed (we all know that user space does dumb things), but
    that when you have them either with 4k stacks (or 50k threads with 8k
    stack) you're dangerously near lowmem exhaustion on 32bit and then
    sooner or later the system will have trouble anyways from low lowmem.
    It's fundamentally not a reliable setup.


     \ /
      Last update: 2008-04-16 15:05    [W:0.022 / U:186.640 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site