lkml.org 
[lkml]   [2003]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: /proc reliability & performance
    On Thu, 2003-10-16 at 20:07, Albert Cahalan wrote:
    >> I created a process with 360 thousand threads,
    >> went into the /proc/*/task directory, and did
    >> a simple /bin/ls. It took over 9 minutes on a
    >> nice fast Opteron.

    On Fri, Oct 17, 2003 at 01:40:03AM -0600, Zan Lynx wrote:
    > Did you try using find instead of ls? ls loads all entries and then
    > sorts them, so it can create an alphabetical display.
    > Try using find. It will not take quite so long.

    GNU ls has a -U flag that should come in handy.


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

    \
     
     \ /
      Last update: 2005-03-22 13:58    [W:0.021 / U:0.040 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site