Write-combining
Hello there!
Is there an easy way to be sure about wether the PCI write-combining is enabled or not for a given memory region?
I'm writting user-level communication software for a Myrinet network. I use Write PIO and I'm aware that WPIO performance is greatly influencied by the presence of write combining. Based on the performance I measured I can only conclude that Write Combining is enabled but I would like to be sure about it (since I'm planning to publish my research).
Is the default behaviour of the Linux kernel to enable write-combining? How can I be sure if it is enabled or not?
Thanks in advance.
__________________________
Thiago Robert
Quoted 2 lines · Thiago Robert
Is the default behaviour of the Linux kernel to enable write-combining? How can I be sure if it is enabled or not?
My /proc/mtrr lists the following region:
reg03: base=0xf8000000 (3968MB), size= 64MB: write-combining, count=2
which I am guessing is the PCI space, although I'm not certain.
Is anyone certain about this?
Thanks in advance.
_________________________
Thiago Robert
Quoted 22 lines · Sean Neakums
Quoted 4 lines · Thiago Robert
Is the default behaviour of the Linux kernel to enable write-combining? How can I be sure if it is enabled or not?
My
/proc/mtrrlists the following region:reg03: base=0xf8000000 (3968MB), size= 64MB: write-combining, count=2
which I am guessing is the PCI space, although I'm not certain. -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/