----- Original Message -----
> From: "Dieter BSD" <dieter...@engineer.com>
> To: hack...@freebsd.org, curr...@freebsd.org
> Sent: Sunday, July 22, 2012 1:19:32 AM
> Subject: Re: Awful FreeBSD 9 block IO performance in KVM
> 
> >>> da0: 3.300MB/s transfers
> >>> da0: Command Queueing enabled
> >
> > root@freebsd:/root # dd if=/dev/zero of=/dev/da1 bs=16384
> > count=262144
> >
> > 4294967296 bytes transferred in 615.840721 secs (6974153 bytes/sec)
> 
> 1) Does a larger block size (bs=1m) help?
> 
> 2) That's roughly the speed I'd expect without queueing. Is it really
> making effective use of queueing, or is something limiting queueing to
> one transfer at a time?

The likely fix here is basically do vtblk_startio() in a separate
kproc that vtblk_strategy() enqueues bio's to. This has been on my
todo for a while, but haven't had the time. Also, the use of
bioq_disksort() probably doesn't gain much for virtualized disks,
but I never found much of a difference in my testing.

> _______________________________________________
> freebsd-hack...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to
> "freebsd-hackers-unsubscr...@freebsd.org"
> 
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to