On Fri, 18 Apr 2014, Alexander Hall wrote: > > > On April 18, 2014 2:55:33 PM CEST, Paco Esteban <p...@onna.be> wrote: > >On Fri, 18 Apr 2014, Alexander Hall wrote: > > > >> > >> > >> On April 18, 2014 2:45:33 PM CEST, Paco Esteban <p...@onna.be> wrote: > >> >On Fri, 18 Apr 2014, Alexander Hall wrote: > >> > > >> >> > >> >> > >> >> On April 18, 2014 2:38:08 PM CEST, Paco Esteban <p...@onna.be> > >wrote: > >> >> >On Fri, 18 Apr 2014, Alexander Hall wrote: > >> >> > > >> >> >> > >> >> >> > >> >> >> On April 18, 2014 12:39:16 PM CEST, Paco Esteban <p...@onna.be> > >> >> >wrote: > >> >> >> >Hi all, > >> >> >> > > >> >> >> >I've a Lenovo T400 laptop with a SanDisk 64GB SSD disk. > >> >> >> >It used to have Debian 7 on it (everything working just fine), > >> >and > >> >> >now > >> >> >> >I > >> >> >> >want to use it as my personal laptop with OpenBSD. > >> >> >> > > >> >> >> >I've installed 5.4. Everything is working great (sound, > >webcam, > >> >etc) > >> >> >> >but > >> >> >> >disk. I get ~40MB/s writing and reding to and from disk. This > >> >very > >> >> >same > >> >> >> >disk reported 250MB/s reading and 190MB/s writing on debian7. > >> >> >> > >> >> >> How did you measure this on openbsd? Copying files? dd? > >> >> >> > >> >> >> /Alexander > >> >> > > >> >> >dd in both OS's. Block size 1MB, count 5k from /dev/zero > >> >> >RAM is 4GB on this machine. > >> >> > >> >> Do you use the raw device, e.g. /dev/rsd1c ? > >> >> > >> >> /Alexander > >> > > >> >No, I used something like this: > >> > > >> >dd if=/dev/zero of=foo.bin bs=1048576 count=5000 > >> > >> To measure raw disk performance, dd to/from a raw partition (need not > >be 'c') is your friend. > >> > >> Others maybe can explain filesystem overhead. > > > >Will I break things if I dd to raw device /dev/rsd0d (/dev/sd0d is > >mounted on /tmp in my case) ? > > Most certainly, yes. Reading *from* said device is not a problem though. Just > don't get it the wrong way... :-)
It gives 188MB/s from a raw device to /dev/null :-/ Cheers, -- Paco Esteban. GnuPG key: 0x0E1192A4