Write combining


Write combining is a computer bus technique for allowing data to be combined and temporarily stored in a buffer the write combine buffer to be released together later in burst mode instead of writing as single bits or small chunks.
Write combining cannot be used for general memory access due to the weak ordering. Write-combining does not guarantee that the combination of writes and reads is done in the expected order. For example, a Write/Read/Write combination to a specific address would lead to the write combining order of Read/Write/Write which can lead to obtaining wrong values with the first read.
In order to avoid the problem of read/write order described above, the write buffer can be treated as a fully associative cache and added into the memory hierarchy of the device in which it is implemented.
Adding complexity slows down the memory hierarchy so this technique is often only used for memory which does not need strong ordering like the frame buffers of video cards.