how to benchmark a malloc implementation

2014-05-30 Thread Aaditya Gavandalkar
Hello,

I am working on a version of ptmalloc3 and trying to make changes to it, in 
order to make it more suitable for my application. But i want to evaluate its 
performance against default implementation.

So please suggest some ways using which benchmarking can be performed.

thank you.
 
Kind regards, 
Aaditya Gavandalkar___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


mmap() only version of ptmalloc3 and how to benchmark it

2014-05-28 Thread Aaditya Gavandalkar
Hello,

I am a undergraduate student currently and I am working on a version of 
ptmalloc3 that uses only mmap() system call to satisfy all types of allocation 
requests and use of brk() is completely removed/avoided as college project. The 
memory allocated using mmap() is also backed by a disk file (which helps to 
reduce swap-in + swap-out time of process but adds a extra overhead).  

Considering the case where only a single resource intensive and critical 
application is using this version of ptmalloc for allocation purposes. Rest of 
the programs are using default implementation. Then in this case this will be 
saving swap-in + swap-out time but will add disk file read+write overheads and 
also sync overhead.

So considering all these points, is it of any advantage to save on swapping 
time while having all those extra overheads.

Also could you please point out how I can benchmark it and test how my version 
is working against the original one.

Thank you.

 
Kind regards, 
Aaditya Gavandalkar___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Eudyptula Challenge Task 01

2014-04-29 Thread Aaditya Gavandalkar
You are compiling it against only the kernel installed on your system and not 
any in general as "build" directory is present with only installed kernel

It is not present with any source tree which is not installed on your system

Kind regards,
Aaditya Gavandalkar

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies