seastar icon indicating copy to clipboard operation
seastar copied to clipboard

perftune.py: tuning 'write_cache' is bogus and dangerous

Open vladzcloudius opened this issue 3 years ago • 3 comments

HEAD: 0d250d15ace37973a1fbf449cb06adbcc5f8a9da

Description Changing a value of /sys/block/.../queue/write_cache is bogus and dangerous because it doesn't change the behavior of the underlying HW and only changes the way kernel "thinks" the HW behaves.

Read more about this here: https://www.kernel.org/doc/Documentation/block/queue-sysfs.txt

vladzcloudius avatar Jan 28 '22 23:01 vladzcloudius

A reminder for this bug - as we still set this value for GCE and Azure preinstalled images. If this setting is bogus, we should stop doing that. cc @slivne

soyacz avatar Aug 26 '22 13:08 soyacz

cc @avikivity @xemul

While there was "some" reason to use it on GCE in the past (which is no longer the case) there is no reason whatsoever to use it on Azure AFAIK.

@slivne could you, please, clarify why have you decided to use it on Azure?

vladzcloudius avatar Aug 26 '22 13:08 vladzcloudius

@yaronkaikov FYI

fgelcer avatar Sep 01 '22 11:09 fgelcer