跳到主要內容

Linux壓力測試

DD
function dd_direct () {
    setup
    dd if=/dev/zero of=/mnt/dest/zero bs=$1 count=$2 oflag=direct
    cleanup
}
function dd_nodirect () {
    setup
    dd if=/dev/zero of=/mnt/dest/zero bs=$1 count=$2
    cleanup
}
dd_direct 1M 10000 
dd_direct 16M 625 
dd_direct 1G 10 
dd_nodirect 1M 10000 
dd_nodirect 16M 625 
dd_nodirect 1G 10 

IOZone

function iozone_async () {
    setup
    iozone -c -e -s 10G -r $1 -i 0 -i 1 -i 2 -i 3 -i 4 -i 5 -i 6 -i 7 -f /mnt/dest/iozone
    cleanup
}
function iozone_sync () {
    setup
    iozone -o -c -e -s 10G -r $1  -i 0 -i 1 -i 2 -i 3 -i 4 -i 5 -i 6 -i 7 -f /mnt/dest/iozone
    cleanup
}
iozone_async 1M  
iozone_async 4M 
iozone_async 8M 
iozone_async 16M 
iozone_sync 1M 
iozone_sync 4M 
iozone_sync 8M 
iozone_sync 16M


留言

這個網誌中的熱門文章

[經驗分享]開源IT資產管理系統 - Open-AudIT

企業營運必定與電腦系統脫離不了關係,每一部電腦散落在各部門、各辦公室,若是較具規模的公司,甚至會有跨好幾個地區的辦公室存在。 from Pocket http://ift.tt/2sI5nuB via IFTTT

Jitsi Meet 視訊會議教學:免費無限人數時間、共享桌面、錄影

想要試試看「 Jitsi Meet 」,在電腦上,直接打開「 」即可。不需註冊帳號,也不需安裝軟體。 「 Jitsi Meet 」的 App 端也不需要註冊帳號,可以直接開啟或加入視訊會議。 那麼如何在「 Jitsi Meet 」上開起一個視訊會議呢? 在視訊 from Pocket https://ift.tt/2wdd3Z1 via IFTTT

Setting up a CUPS server with Docker on a Synology NAS for my Brother printer

I made the unfortunate mistake of purchasing a cheap brother printer, the Brother HL-L2300D, which is USB only. And not only is it a USB printer, it is a Winprinter which makes it very limited in anything other than Windows. from Pocket http://ift.tt/2gbYuYH via IFTTT