lkml.org 
[lkml]   [2004]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [1/1][PATCH] nproc v2: netlink access to /proc information
    On Wed, 15 Sep 2004 13:20:28 -0700, William Lee Irwin III wrote:
    > > Ignore the absolute values (I requested each field individually for all
    > > processes on my workstation, 1000 times). The cost of walking all vmas
    > > for VmData & Co. is very visible.
    >
    > Try this again after applying my updates, which make it equivalent to the
    > algorithms used internally by fs/proc/task_mmu.c.

    Here you go:

    Testing all process fields, best out of 10
    FieldID CPU (s) Wall (s) Label
    0x03000002 0.130000 0.208989 NOP
    0x21000100 0.150000 0.222867 Name
    0x22000105 0.140000 0.216126 PID
    0x22000109 0.140000 0.218058 UID
    0x22000117 0.140000 0.231467 VmSize
    0x22000118 0.140000 0.227863 VmLock
    0x22000119 0.140000 0.229867 VmRSS
    0x22000120 0.140000 0.226822 VmData
    0x22000121 0.140000 0.228589 VmStack
    0x22000122 0.130000 0.229107 VmExe
    0x22000123 0.140000 0.228584 VmLib
    0x23000421 0.140000 0.230716 wchan
    -
    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 14:06    [W:4.522 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site