Thanks for the script! I was thinking about using stress as load both on the non-isolated CPUs as well as for the isolated CPUs. I intend to use "--io" and "--vm" for non-isolated part, and "--cpu" for the isolated. This should provoke the system a little bit at least.
Regards Mats Liljegren ________________________________________ From: Kevin Hilman [khil...@linaro.org] Sent: Thursday, March 13, 2014 11:10 PM To: Mats Liljegren Cc: Linux Test Project General Discussions; Frederic Weisbecker Subject: Re: [LTP] Testing absence of ticks with nohz_full Mats Liljegren <liljegren.ma...@gmail.com> writes: > My company (Enea) wants to create test case(s) that verifies that you > can run an application without having ticks going on the CPU that the > application runs on. This would utilize the new nohz_full feature > available from kernel version 3.10. > > I cannot find any existing test case in LTP in this area, so I assume > I have to create the test case myself. It's not in LTP, but I have a shell script[1] does some setup and load generation that I use to validate nohz_full. The setup and prerequisites can be a bit tricky, but some of the things it does: - disables the residual 1Hz (if my patch is applied) - pinning the unbound "writeback" workqueue to CPU0 - force timer migration using hotplug - sets up CPUsets and tries to migrate all tasks to CPU0 (I think this part came from a script from you awhile ago) It then uses 'stress' to generate load on specific CPUs and uses trace-cmd to record the traces. I currently look at the traces manually to see if it worked, but adding other step to automatially look at the traces would be a good next step. Kevin ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list