Thread (48 messages) 48 messages, 6 authors, 2007-05-30

Re: [patch 6/7] ps3: ROM Storage Driver

From: Christoph Hellwig <hch@lst.de>
Date: 2007-05-30 10:14:36
Also in: linux-scsi, lkml

On Tue, May 29, 2007 at 01:11:41PM +0200, Geert Uytterhoeven wrote:
quoted
This looks very inefficient.  Just set sg_tablesize of your driver
to 1 to avoid getting mutiple segments.
The disadvantage of setting sg_tablesize = 1 is that the driver will get small
requests (PAGE_SIZE) most of the time, which is very bad for performance.
If you set .clustering = 1 in your host template you will frequently
get larger requests.

For any sane hypervisor or hardware the copy should be worth
than that.  Then again a sane hardware or hypervisor would support
SG requests..
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help