Skip to contentSkip to conversation

generating 100% load for cyclictest ?

DISCUSSION Steven Scholz 3 participants 4 messages Jan 11, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

on http://rt.wiki.kernel.org/index.php/Cyclictest some test cases mention a "100% load".

How is this load created? Any recommendations?

I am testing on an embedded system with a small rootfs. So I don't have a gcc running on the target that could compile the kernel or something ...

Thanks.

Signature · 1 line
Steven
#1 lore raw
Quoted 1 line · Steven Scholz

How is this load created? Any recommendations?

At least these should generate significant load:

- hackbench
- while true; do find /; done
- calibrator (for cache load)

Robert

Signature · 5 lines
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9
#2 lore raw

Robert,

Quoted 7 lines
Quoted 1 line

How is this load created? Any recommendations?

At least these should generate significant load:

- hackbench
- while true; do find /; done
- calibrator (for cache load)

Thanks.

And of course all running at the same time?

--
Steven

#3 lore raw
In reply to Steven Scholz

Hi,

Quoted 9 lines · Steven Scholz

Hi,

on http://rt.wiki.kernel.org/index.php/Cyclictest some test cases mention a "100% load".

How is this load created? Any recommendations?

I am testing on an embedded system with a small rootfs. So I don't have a gcc running on the target that could compile the kernel or something ...

Even Without extra softwares you can easily produce custom load in many manners. i.E. you can cause a high CPU consumption by simple doing cat /dev/zero >/dev/null
or you can grab another machine in the network to do some flood pings towards the emb. system, which will cause high frequented irqs on the network device.
If you just want to give your machine some custom load, this should be enough. If you want to analyze the system in some specific load situation, you might want to take some benchmarking tools. Hackbench is i.E. a good start.

cheers
Luotao Fu

Signature · 5 lines
     Dipl.-Ing. Luotao Fu | http://www.pengutronix.de
  Pengutronix - Linux Solutions for Science and Industry
    Handelsregister: Amtsgericht Hildesheim, HRA 2686
      Hannoversche Str. 2, 31134 Hildesheim, Germany
    Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9