Skip to contentSkip to conversation

Qemu performance

Qemu-devel Lê Đức Tài 3 participants 4 messages Jun 29, 2011 – Jun 30, 2011

lore
Share & tools
lore
#0 lore raw

Hi,
I have a question about performance of Qemu for powerpc.
When I'm changing the CPU clock for taihu board from 33Mhz to 330Mhz by setting the PLL value, the performance of Guest OS is not increased. I use nbench to measure the guest performance.
Is qemu always running as maximum performance?

Thank.
Tai

#1 lore raw

Hi... :)

2011/6/29 Lê Đức Tài <[email protected]>:

Quoted 6 lines

Hi,
I have a question about performance of Qemu for powerpc.
When I'm changing the CPU clock for taihu board from 33Mhz to 330Mhz by setting the PLL value, the performance of Guest OS is not increased. I use nbench to measure the guest performance.
Is qemu always running as maximum performance?

Yes...

Logically, nbench is just pressing out all of your processor can do (CPU bound tasks). In this case, emulated guest processor clock has very little meaning IMO. After all, AFAIK it's just a complimentary info so it is seen as "real processor".

Signature · 7 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
#2 lore raw

[Qemu-devel] Về: Qemu performance

Thank for your answer.
Beside nbench, I'm also using Dhrystone to measure the guest cpu performance. The performance does not much diffetence too.
Is the emulated guest performance not depend on guest processor clock?

Tai

________________________________
Từ: Mulyadi Santosa <[email protected]> Đến: Lê Đức Tài <[email protected]>
Cc: "[email protected]" <[email protected]> Gửi ngày: 17:27:20, Thứ Tư, 29 tháng 6 2011
Chủ đề: Re: [Qemu-devel] Qemu performance

Hi... :)

2011/6/29 Lê Đức Tài <[email protected]>:

Quoted 6 lines

Hi,
I have a question about performance of Qemu for powerpc.
When I'm changing the CPU clock for taihu board from 33Mhz to 330Mhz by setting the PLL value, the performance of Guest OS is not increased. I use nbench to measure the guest performance.
Is qemu always running as maximum performance?

Yes...

Logically, nbench is just pressing out all of your processor can do (CPU bound tasks). In this case, emulated guest processor clock has very little meaning IMO. After all, AFAIK it's just a complimentary info so it is seen as "real processor".

Signature · 7 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
#3 lore raw

Re: [Qemu-devel] Về: Qemu performance

Quoted 5 lines · Lê Đức Tài

Thank for your answer.
Beside nbench, I'm also using Dhrystone to measure the guest cpu performance. The performance does not much diffetence too.
Is the emulated guest performance not depend on guest processor clock?

Please don't top-post.

Qemu doesn't emulate cycle-accurately. Instead, it converts guest code to host code and executes it as fast as it can. So whatever you tell the guest on the cpu speed doesn't really matter. Except for the timebase of course :).

Mind if I ask what exactly you're trying to do with ppc emulation? I'm interested in use cases people have.

Alex

Quoted 1 line

Tai