Disabling Linux kernel page zeroing
Hi,
I am trying to disable the kernel's page/memory zeroing in order to gain performance in a safe environment (experimental purpose) while utilizing applications that make heavy use of malloc operation. I have found some function in the kernel's source code such as free_pages_prepare, however, when disabling the associated function or memset (e.g., kernel_poison_pages-> ... -> poison_page ) it crushed the kernel on boot time. Any idea or hints on how I can do that? Thanks in advance, Stefanos |
since you gave no code, real explanation about the work you made hard to say anything. From the other hand I do not think you can gain significant performance this way.
I would rather try to optimize these malloc calls in those applications (if possible). I do not really understand what do you mean by "safe environment". |
Hello Pan64,
My main concern is to investigate the memory zeroing mechanism performance impact on the Linux systems and not optimise an application. Therefore, I would like to know i) if it is possible to disable it and recompile the Kernel modules again and ii) if yes how to do it. By the term "safe environment" I mean with no malicious users. I did not share any code since I would like to perform some experiments with benchmarks after I disable it. |
All times are GMT -5. The time now is 11:03 PM. |