generating 100% load for cyclictest ?
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
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-9Robert,
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
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