[pve-devel] new cache benchmark results

Alexandre DERUMIER aderumier at odiso.com
Fri Nov 9 09:18:25 CET 2012


>>The patches you pointed to did not find their way into qemu. 
Maybe can you talk the question to paolo bonzini ? he's very friendly.

>>I also do not have such hardware - anybody knows a cheap disk which use 4K sectors? 
I really don't know :(

I also see that some 4K drives expose their physical 4K sector as logical 512bytes

http://superuser.com/questions/443435/how-would-i-force-debian-to-use-the-physical-sector-size-on-a-hard-disk

$ parted /dev/sdc
GNU Parted 2.3
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA WDC WD30EZRX-00M (scsi)
Disk /dev/sdc: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com, "Michael Rasmussen" <mir at datanom.net> 
Envoyé: Vendredi 9 Novembre 2012 09:02:58 
Objet: RE: [pve-devel] new cache benchmark results 

> >>So I guess we should pass: 
> >> 
> >>-device virtio-blk-pci,logical_block_size=4096,physical_block_size=4096,.... 
> 
> Yes, I think we sould pass option to qemu command line. 
> But If I understand, It should work without it, but slowly. 

The patches you pointed to did not find their way into qemu. 

> But I don't have hardware to test it :( 

I also do not have such hardware - anybody knows a cheap disk which use 4K sectors? 



More information about the pve-devel mailing list