[OpenIndiana-discuss] CIFS slow reads but fast writes
Roy Sigurd Karlsbakk
roy at karlsbakk.net
Tue Apr 19 09:43:33 UTC 2011
----- Original Message -----
> Hmmm, just got going on this (had to work late.) Anyway, I'm setting
> up the
> iscsi and cifs shares now, but as an experiment, I did this:
>
> time dd of=/dev/null if=testfile bs=1M count=16K
>
> write speed = 322 MB/s
>
> then did this:
>
> root at nas:/tank/smbtest# time dd of=/dev/null if=testfile bs=1M
> count=16K
>
> read speed = 412 MB/s
>
> seems like this lets disk/fs off the hook, no?
I'd use a real benchmark utility instead of just dd. Aslo keep in mind that this test won't do much i/o if you have compression enabled. CIFS may or may not use SYNC writes, iSCSI will (normally) use SYNC writes, so that will have some impact, but for reads, they shouldn't matter. In most (or all?) circumstances, reads should be faster than writes.
Vennlige hilsener / Best regards
roy
--
Roy Sigurd Karlsbakk
(+47) 97542685
roy at karlsbakk.net
http://blogg.karlsbakk.net/
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.
More information about the OpenIndiana-discuss
mailing list