lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 2 Aug 2007 17:42:28 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Kasper Sandberg <lkml@...anurb.dk>
Cc:	Peter Zijlstra <peterz@...radead.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	ck@....kolivas.org
Subject: Re: SD still better than CFS for 3d   ?(was Re: 2.6.23-rc1)


Kasper,

could you please try the "chew-max" latency-printing utility:

   http://people.redhat.com/mingo/cfs-scheduler/tools/chew-max.c

if you start it on an idle system it prints a single line:

  $ ./chew-max
  pid 14506, prio   0, interval of 99984800 nsec

and prints nothing else. It continues looping and looping (using up 100% 
of CPU time), and the moment it's preempted, it prints a line about that 
preemption latency. Under higher load it will print something like this:

  out for   63 ms [max:   66], ran for    5 ms, load   7
  out for   85 ms [max:   85], ran for    4 ms, load   5
  out for    7 ms [max:   85], ran for    0 ms, load   0
  out for  105 ms [max:  105], ran for    3 ms, load   3
  out for  174 ms [max:  174], ran for    6 ms, load   3
  out for  219 ms [max:  219], ran for    3 ms, load   1
  out for   78 ms [max:  219], ran for    3 ms, load   3

so that we get a picture of your latencies, could you run this tool why 
you are seeing those 'bad' desktop latencies? (Since your CPU has two 
cores it might make sense to run two instances of chew-max.)

record the latencies like this:

  ./chew-max > chew1.out &
  ./chew-max > chew2.out &

and send us the chew1.out and chew2.out files (bzip2 -9 compressed). 
Thanks!

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ