Re: [Qemu-devel] performance monitor

2008-01-04 Thread Clemens Kolbitsch
On Friday 04 January 2008 09:49:22 Rob Landley wrote: > On Thursday 03 January 2008 15:38:02 Clemens Kolbitsch wrote: > > Does anyone have an idea on how I can measure performance in qemu to a > > somewhat accurate level? > > hwclock --show > time1 > tar xvjf linux-2.6.23.tar.bz2 && cd linux-2.6.23

Re: [Qemu-devel] performance monitor

2008-01-04 Thread Rob Landley
On Thursday 03 January 2008 15:38:02 Clemens Kolbitsch wrote: > Does anyone have an idea on how I can measure performance in qemu to a > somewhat accurate level? hwclock --show > time1 tar xvjf linux-2.6.23.tar.bz2 && cd linux-2.6.23 && make allnoconfig && make cd .. hwclock --show > time2 Do th

Re: [Qemu-devel] performance monitor

2008-01-03 Thread Clemens Kolbitsch
On Thursday 03 January 2008 23:18:58 Paul Brook wrote: > > Well, the measuring I had in mind partly concentrats on TLB misses, page > > faults, etc. (in addition to the cycle measuring). guess i'll have to > > implement something for myself in qemu :-/ > > Be aware that the TLB qemu uses behaves ve

Re: [Qemu-devel] performance monitor

2008-01-03 Thread Laurent Desnogues
On Jan 3, 2008 11:11 PM, Clemens Kolbitsch <[EMAIL PROTECTED]> wrote: > > Well, the measuring I had in mind partly concentrats on TLB misses, page > faults, etc. (in addition to the cycle measuring). guess i'll have to > implement something for myself in qemu :-/ There's something not clear here:

Re: [Qemu-devel] performance monitor

2008-01-03 Thread Paul Brook
> Well, the measuring I had in mind partly concentrats on TLB misses, page > faults, etc. (in addition to the cycle measuring). guess i'll have to > implement something for myself in qemu :-/ Be aware that the TLB qemu uses behaves very differently to a real CPU TLB. If you want to get TLB miss s

Re: [Qemu-devel] performance monitor

2008-01-03 Thread Clemens Kolbitsch
On Thursday 03 January 2008 23:07:07 you wrote: > > Does anyone have an idea on how I can measure performance in qemu to a > > somewhat accurate level? I have modified qemu (the memory handling) and > > the linux kernel and want to find out the penalty this introduced... does > > anyone have any co

Re: [Qemu-devel] performance monitor

2008-01-03 Thread Paul Brook
> Does anyone have an idea on how I can measure performance in qemu to a > somewhat accurate level? I have modified qemu (the memory handling) and the > linux kernel and want to find out the penalty this introduced... does > anyone have any comments / ideas on this? Short answer is you probably ca

Re: [Qemu-devel] performance monitor

2008-01-03 Thread Clemens Kolbitsch
On Thursday 03 January 2008 22:29:06 Paul Brook wrote: > > ... Ok, to cut a long question short: Is there any hardware support im > > qemu for doing monitoring (that goes deeper than using "time") and has > > anyone ever tested something that could work? > > Probably your application wants the perf

Re: [Qemu-devel] performance monitor

2008-01-03 Thread Paul Brook
> ... Ok, to cut a long question short: Is there any hardware support im qemu > for doing monitoring (that goes deeper than using "time") and has anyone > ever tested something that could work? Probably your application wants the performance counters. Qemu doesn't emulate those. Besides which, q

[Qemu-devel] performance monitor

2008-01-03 Thread Clemens Kolbitsch
hi! has anyone ever used some "real" performance monitoring tools (like papiex, perfex, pfmon, etc.) on qemu? i'm running a debian linux and would like to time some applications inside qemu and have tried the perfmon2 kernel-patch (http://perfmon2.sourceforge.net/) for testing. sadly, it does n