[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] bug when using 4K sectors?



> > Being able to use 4k sectors seems like it would provide pretty
> > massive gains in performance just by being more efficient let alone
> > increasing byte aligned writes to the underlying block storage system.
> 
> The PV blk transport may be based on 512-byte sectors, but the real sector
> size is communicated between blkfront and blkback via xenbus (field
> 'sector-size') and blkfront is expected to only make requests that are
> multiple of, and aligned according to, that real 'sector-size'.
> 
> I would kind of expect it to work, as CD-ROMs have a larger sector size (2kB
> IIRC) and we support those...
> 
> Bashing your head against the PV blk transport code may be premature. ;)
> 

So a sector-size of 4096 would basically be a 512e device, allowing the 
underlying OS to communicate in 512 byte blocks but knowing that things will 
work best in 4096 byte sized transfers aligned to multiples of 4096 bytes, 
right?

James


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.