lkml.org 
[lkml]   [1998]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjectglibc-2.0.6/kernel-2.1.82 interface problem
    Hello Folks,

    I finally decided that I needed to take the dreaded plunge to glibc6.
    Upon completion, I recompiled Bonnie to see what timing differences
    might crop up. The results were pretty disturbing when compared to
    libc-45.4.43 performance, so I dug in with strace.

    Bottom line: Compiling Bonnie with libc-5.4.43 headers fixed it.
    I haven't (yet) started mucking up the headers; thought I'd report
    first to see if it's a known/do-this-instead-dummy problem :)

    -Mike

    Thanks to glibc folks; the move was _remarkably_ easy. Great job!

    -----------------------------the poop------------------------------
    [root]:# ./Bonnie.libc2.binary.libc2.headers -s 16

    File './Bonnie.560', size: 16777216
    Writing with putc()...done
    Rewriting...done
    Writing intelligently...done
    Reading with getc()...done
    Reading intelligently...done
    Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
    -------Sequential Output-------- ---Sequential Input-- --Random--
    -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
    Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
    16 2676 100.0 31959 99.5 10917 100.0 2313 100.0 38822 99.5 4541.0 98.8

    strace output:
    gettimeofday({886138519, 14624}, NULL) = 0 <0.000032>
    getrusage(RUSAGE_SELF, {ru_utime={0, 10000}, ru_stime={0, 10000}, ...})

    [root]:# ./Bonnie.libc2.binary.libc1.headers -s 16

    File './Bonnie.564', size: 16777216
    Writing with putc()...done
    Rewriting...done
    Writing intelligently...done
    Reading with getc()...done
    Reading intelligently...done
    Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
    -------Sequential Output-------- ---Sequential Input-- --Random--
    -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
    Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
    16 7454 100.1 31938 99.4 10894 99.7 6638 100.1 42337 100.8 691.2 15.0

    strace output:
    gettimeofday({886138539, 789970}, NULL) = 0 <0.000033>
    getrusage(RUSAGE_SELF, {ru_utime={0, 10000}, ru_stime={0, 0}, ...}) = 0

    [root]:# ./Bonnie.libc1.binary -s 16

    File './Bonnie.571', size: 16777216
    Writing with putc()...done
    Rewriting...done
    Writing intelligently...done
    Reading with getc()...done
    Reading intelligently...done
    Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
    -------Sequential Output-------- ---Sequential Input-- --Random--
    -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
    Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
    16 7450 99.6 31908 99.3 10907 99.9 6595 100.2 41850 99.6 695.8 15.1

    strace output:
    gettimeofday({886138489, 332388}, NULL) = 0 <0.000034>
    getrusage(RUSAGE_SELF, {ru_utime={0, 10000}, ru_stime={0, 0}, ...}) = 0



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