Re: /proc reliability & performance

From: Zan Lynx (zlynx_at_acm.org)
Date: 10/17/03

  • Next message: William Lee Irwin III: "Re: /proc reliability & performance"
    To: Albert Cahalan <albert@users.sf.net>
    Date:	Fri, 17 Oct 2003 01:40:03 -0600
    
    
    

    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.

    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.

    -- 
    Zan Lynx <zlynx@acm.org>
    
    

    -
    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/



  • Next message: William Lee Irwin III: "Re: /proc reliability & performance"

    Relevant Pages

    • Re: /proc reliability & performance
      ... On Thu, 2003-10-16 at 20:07, Albert Cahalan wrote: ... >> nice fast Opteron. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: Who changed /proc/<pid>/ in 2.6.0-test5-bk9?
      ... On 1 Oct 2003, Albert Cahalan wrote: ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: pte_addr_t size reduction for 64 GB case?
      ... Albert Cahalan wrote: ... >> needs 33 bits to find the PTE. ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: Subject: Re: NULL pointer in proc_pid_stat -- oops.
      ... Albert Cahalan writes: ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [PATCH] multiple namespaces
      ... Albert Cahalan wrote: ... My bogometer just twitched... ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)