lkml.org 
[lkml]   [2003]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Crusoe's performance on linux?
    Date
    Followup to:  <bddptk$gqc$1@cesium.transmeta.com>
    By author: "H. Peter Anvin" <hpa@zytor.com>
    In newsgroup: linux.dev.kernel
    >
    > I have written a script to try to give a consistent compile benchmark;
    > however, one still needs to make sure that DMA is turned on (hdparm -d
    > /dev/hda); obviously, the compiler etc should not be on NFS.
    >

    Leave it to me to actually forget the script...

    #!/bin/bash -x

    KERNEL=/home/mirror/kernel.org/linux/kernel/v2.4/linux-2.4.21.tar.gz

    if [ -d /tmp/build ]; then
    umount /tmp/build > /dev/null 2>&1
    rmdir /tmp/build
    fi

    mkdir -p /tmp/build
    mount -t tmpfs none /tmp/build
    cd /tmp/build
    tar xfz $KERNEL
    cd linux*
    cp -f arch/i386/defconfig .config
    yes "" | make oldconfig
    make dep
    start=`date`
    time bash -c 'make -j3 bzImage > build.log 2>&1'
    end=`date`
    echo "Started: $start Ended: $end"


    -hpa
    --
    <hpa@transmeta.com> at work, <hpa@zytor.com> in private!
    "Unix gives you enough rope to shoot yourself in the foot."
    Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
    -
    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:36    [W:0.021 / U:29.792 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site