lkml.org 
[lkml]   [2004]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: harddisk speed: 2.4.24 20+% faster then 2.6.3
    Danny ter Haar <dth@ncc1701.cistron.net>, on Fri Feb 27, 2004 [12:04:29 AM] said:
    > I've been checking, rechecking but cannot explain
    > why a "vannilla" debian install kernel (sid-testing install
    > cdrom) is faster then "Feisty Dunnart" on the same hardware.
    >
    > hardware: Mini-itx with 1Ghz via-C3
    > 200GB udma harddisk.
    >
    > 2.4.24:
    > Timing buffered disk reads: 150 MB in 3.01 seconds = 49.83 MB/sec
    >
    > 2.6.3 (vanilla):
    > Timing buffered disk reads: 102 MB in 3.05 seconds = 33.40 MB/sec
    >
    > 2.6.3-mm4:
    > Timing buffered disk reads: 108 MB in 3.00 seconds = 35.95 MB/sec
    >

    Hi;


    By default, my hdparm numbers and my kernel build time
    benchmark were worse on all 2.6 vs. 2.4 kernels, until I tried:

    /sbin/hdparm -a 4096 /dev/hdx

    eg. (typical averages)
    2.4.21:
    Timing buffered disk reads: 80 MB in 3.07 seconds = 26.06 MB/sec
    2.6.0-test5:
    Timing buffered disk reads: 68 MB in 3.06 seconds = 22.21 MB/sec
    2.6.1: [readahead 4096]
    Timing buffered disk reads: 90 MB in 3.02 seconds = 29.82 MB/sec

    2.6.0-test10 building 2.4.18-packet (personal config) gcc3.2.3 glibc2.3.2
    160g Maxtor, ext3
    (2xpII 400)
    time (make -j4 clean && make -j4 dep && make -j4 bzImage)
    [with default read-ahead]
    real 9m1.496s
    user 16m1.977s
    sys 0m45.347s

    [read-ahead = 4096]
    real 7m2.923s
    user 12m6.889s
    sys 0m46.190s

    pIIx4, ata33, 160g maxtor

    Paul
    set@pobox.com
    -
    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:01    [W:0.035 / U:0.616 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site