Live data from Hacker News

Deprecating the PCOMMIT Instruction

software.intel.com

1–10 of 26 posts

Re: Deprecating the PCOMMIT Instruction

#2
This is a nice improvement. Now instead of having sfence/pcommit/sfence to flush writes to nvram, you would use just an sfence to ensure ordering with subsequent stores (e.g. a store that publishes the written data.)

Its analogous to fysnc() to ensure data reaches the disk in a way that survives power failure. This is like just treating all writes as fsynced and not needing to worry about fsync at all, like with O_DIRECT writes.

Re: Deprecating the PCOMMIT Instruction

#6
post #5

Okay HN, this is ELI5 time: is this instruction for interacting with SSDs that fit into DIMM slots?

It was the instruction for interacting with XPoint DIMMs (I wouldn't call them SSDs but whatever), but now you just use CLWB instead.

Re: Deprecating the PCOMMIT Instruction

#7
post #6
post #5

Okay HN, this is ELI5 time: is this instruction for interacting with SSDs that fit into DIMM slots?

It was the instruction for interacting with XPoint DIMMs (I wouldn't call them SSDs but whatever), but now you just use CLWB instead.

Previously you would use CLWB, SFENCE, then PCOMMIT. Now you use CLWB, then SFENCE.
Post reply on HN