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]
Message-ID: <20071220093138.GE4478@elte.hu>
Date:	Thu, 20 Dec 2007 10:31:39 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Venki Pallipadi <venkatesh.pallipadi@...el.com>
Cc:	Thomas Gleixner <tglx@...utronix.de>,
	"H. Peter Anvin" <hpa@...or.com>, Len Brown <lenb@...nel.org>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86: Voluntary leave_mm before entering ACPI C3


* Venki Pallipadi <venkatesh.pallipadi@...el.com> wrote:

> > Btw., since the TLB flush state machine is really subtle and 
> > fragile, could you try to run the following mmap stresstest i wrote 
> > some time ago:
> > 
> >    http://redhat.com/~mingo/threaded-mmap-stresstest/
> > 
> > for a couple of hours. It runs nr_cpus threads which then do a 
> > "random crazy mix" of mappings/unmappings/remappings of a 800 MB 
> > memory window. The more sockets/cores, the crazier the TLB races get 
> > ;-)
> > 
> 
> Ingo,
> 
> I ran this stress test on two systems (8 cores and 2 cores) for over 4 
> hours without any issues. There was more than 20% C3 time during the 
> run. So, this C3 tlbflush path must have been stressed well during the 
> run.

ok, great. Regarding power consumption: i suspect a real difference will 
only show up on multi-socket systems that can do deeper C modes, or on 
multicore systems that will benefit from longer idle time on another 
core. (i suspect most multicore CPUs today will only truly save 
significant amounts of power if all cores are idle.) In any case, not 
doing these extra IPIs is definitely a plus.

	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