Hi All, I note that HDD cluster commit delay improves after i turn off HDD cache. However, i also note that not all HDDs are able to turn off the cache. special I found that two HDD with same model number, one can turn off, anther doesn't. i guess i have my system config or something different setting with two HDDs. Below is my command to turn off the HDD cache. root@lahost008:~# sdparm --set WCE=0 /dev/sdb /dev/sdb: ATA ST10000NE000-3AP EN01 root@lahost008:~# cat /sys/block/sdb/queue/write_cache write through I also tried sdparm to run "sdparm --set WCE=0 /dev/sdb" I got the same result. Anyone experienced this can advise? Thanks a lot
Without (raid/jbod) controller ? Le mer. 8 nov. 2023 à 18:36, Peter <petersun@raksmart.com> a écrit :
Hi All,
I note that HDD cluster commit delay improves after i turn off HDD cache. However, i also note that not all HDDs are able to turn off the cache. special I found that two HDD with same model number, one can turn off, anther doesn't. i guess i have my system config or something different setting with two HDDs. Below is my command to turn off the HDD cache.
root@lahost008:~# sdparm --set WCE=0 /dev/sdb /dev/sdb: ATA ST10000NE000-3AP EN01 root@lahost008:~# cat /sys/block/sdb/queue/write_cache write through
I also tried sdparm to run "sdparm --set WCE=0 /dev/sdb" I got the same result.
Anyone experienced this can advise?
Thanks a lot
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
This server configured Dell R730 with HBA 330 card HDD are configured write through mode. ________________________________ From: David C. <david.casier@aevoo.fr> Sent: Wednesday, November 8, 2023 10:14 To: Peter <petersun@raksmart.com> Cc: ceph-users@ceph.io <ceph-users@ceph.io> Subject: Re: [ceph-users] HDD cache Without (raid/jbod) controller ? Le mer. 8 nov. 2023 à 18:36, Peter <petersun@raksmart.com<mailto:petersun@raksmart.com>> a écrit : Hi All, I note that HDD cluster commit delay improves after i turn off HDD cache. However, i also note that not all HDDs are able to turn off the cache. special I found that two HDD with same model number, one can turn off, anther doesn't. i guess i have my system config or something different setting with two HDDs. Below is my command to turn off the HDD cache. root@lahost008:~# sdparm --set WCE=0 /dev/sdb /dev/sdb: ATA ST10000NE000-3AP EN01 root@lahost008:~# cat /sys/block/sdb/queue/write_cache write through I also tried sdparm to run "sdparm --set WCE=0 /dev/sdb" I got the same result. Anyone experienced this can advise? Thanks a lot _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io<mailto:ceph-users@ceph.io> To unsubscribe send an email to ceph-users-leave@ceph.io<mailto:ceph-users-leave@ceph.io>
Hi Peter,
On Nov 8, 2023, at 20:32, Peter <petersun@raksmart.com> wrote:
Anyone experienced this can advise?
You can try: * check for current cache status smartctl -x /dev/sda | grep "Write cache" * turn off write cache smartctl -s wcache-sct,off,p /dev/sda * check again smartctl -x /dev/sda | grep "Write cache" Good luck, k
participants (4)
-
David C.
-
Konstantin Shalygin
-
Peter
-
quaglio@bol.com.br