Messages in this thread |  | | Date | Mon, 25 Sep 2000 12:42:09 +0200 (CEST) | From | Ingo Molnar <> | Subject | the new VM |
| |
i'd also like to share my experiences with recent kernels, compared to the 'old VM'. I frequently run high VM load multi-gigabyte systems with alot of IRQ-side allocations as well, and it's surprising how sensitive these systems' performance is to VM balance, despite gobs of RAM.
- The biggest difference under high allocation load is that the CPU usage of kswapd and the synchronous VM balancing code has decreased significantly. Under previous kernels it was not uncommon to see sudden spikes in kswapd usage, and to see significant CPU time spent in shrink_mmap() & friends. I suspect that this is because the new VM does much less 'guessing' and blind list-walking.
- i'm also happy that __alloc_pages() now 'guarantees' allocation. This i believe could simplify unrelated kernel code significantly. Eg. no need to check for NULL pointers on most allocations, a GFP_KERNEL allocation always succeeds, end of story. This behavior also has the 'nice' side-effect of showing memory inbalance rather forcefully: the system locks up ;-) A GFP_ATOMIC allocation obviously still has the potential to fail, and must be handled properly.
all in one, the new VM balancing code looks really promising, despite all the growing pains.
Ingo
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |