Help Configuring the Memory Used by a Process in RedHat? (Cache Memory on CPU)
I have an Intel based computer which has a 1MB CPU cache that is running real-time processes. It is running RedHat Enterprise Linux, and I had a question about memory management.
Iím wondering if there is a way to tell the memory management routine (process, whatever) to store the memory used by a certain process in cache memory on the CPU. Currently, if the process goes out of a page of memory (for the process) in cache, the CPU has to go to SDRAM in order to get the needed information stored there. This causes a performance hit when going to RAM.
Does anyone know of a way to do this? Any code examples would be helpful, or some C routines/commands to get me started would be very helpful.
Thank you in advance.