Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 1999 03:05:45 -0700
From:      David Greenman <dg@root.com>
To:        "liudong" <shift@263.net>
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: The I/O is too slow than linux 
Message-ID:  <199908241005.DAA14184@implode.root.com>
In-Reply-To: Your message of "Tue, 24 Aug 1999 02:27:44 CDT." <199908240727.CAA14695@db.geocrawler.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>then run ...
># time dd if=/dev/da0 of=/dev/null count=200000
>200000+0 records in
>200000+0 records out
>102400000 bytes transferred in 36.852771 secs (2778624 bytes/sec)
>
>real    0m36.911s
>user    0m0.372s
>sys     0m5.982s

   You need to use the raw device for tests like this and you should specify
a blocksize as well, e.g.:

time dd if/dev/rda0 of=/dev/null bs=64k count=200000

   The block device should only be used when mounting the filesystem.

-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org
Creator of high-performance Internet servers - http://www.terasolutions.com
Pave the road of life with opportunities.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908241005.DAA14184>