Re: ssd mode on rotational media

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

 



On 2015-01-07 13:55, Kyle Gates wrote:
What issues would arise if ssd mode is activated because of a block layer setting the rotational flag to zero? This happens for me running btrfs on bcache. Would it be beneficial to pass the no_ssd flag?
Thanks,
Kyle
In theory, it would result in a greater degree of high-level fragmentation. You should (in theory) get marginally better performance by using no_ssd (or using a udev rule to set rotational to 1, as the flag is writable).

Ideally, bcache shouldn't set the rotational flag to 0 unless the backing store (the big device that the cache is reading from) also has it set.

Also, ideally, we should be looking at the type of block device, not just whether the rotational flag is 0 or not, as there are a number of cases where rotational is 0 that enabling ssd will make things preform worse (Xen/Virtio block devices come immediately to mind).

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux