[perf-discuss] Mapping the kernel heap with large pages

2010-08-13 Thread Kishore Kumar Pusukuri
Hi, One of my applications is spending around 90% of total execution time reading a huge file using read system call. I though that I could improve the performance of the application by increasing the page size for kernel heap. I know that I can increase page size of application heap using ppgs

Re: [perf-discuss] Change segvn cache size

2010-08-13 Thread Jim Mauro
segvn is the generic vnode segment driver, the most heavily used segment driver (typically) in a system. It manages vnode mappings for various address space segments, including text, data heap and stack segments, and is used for mmap/munmap operations. I am not aware of any parameters that set (o

[perf-discuss] Change segvn cache size

2010-08-13 Thread Kishore Kumar Pusukuri
Hi, I observed that one multi-threaded application is generating so many cross-calls (xcalls) on my AMD multi-core machine. A snapshot of stack trace is shown below. I think that this is because of "segvn" activity, i.e. unmapping the page and generating cross-call activity to maintain MMU leve

Re: [perf-discuss] libmtmalloc vs libumem

2010-08-13 Thread Steve Sistare
libumem is a userland port of the kernel slab allocator (kmem_cache_alloc and friends), which is described by the following papers: Jeff Bonwick, The Slab Allocator: An Object-Caching Kernel Memory Allocator. Proceedings of the Summer 1994 Usenix Conference. Jeff Bonwick and Jonathan Ada

[perf-discuss] libmtmalloc vs libumem

2010-08-13 Thread Kishore Kumar Pusukuri
Hi, I am able to understand how libmtmalloc works from the documentation of libmtmalloc.c source file. However, I am unable to find proper documentation for libumem. Could someone provide the key differences between libmtmalloc and liumem, please? Please also provide me links to the documentatio