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>] [day] [month] [year] [list]
Date:	Thu, 14 Sep 2006 10:45:37 -0700
From:	Tim Chen <tim.c.chen@...ux.intel.com>
To:	Arjan van de Ven <arjan@...radead.org>
Cc:	Ian Stirling <ian.stirling@...ve.plus.com>,
	Diego Calleja <diegocg@...il.com>,
	linux-kernel@...r.kernel.org, hugh@...itas.com, akpm@...l.org,
	">" <dmccr@...ibm.com>
Subject: Re: Shared page tables patch... some results

On Aug 15, 2006 3:34 AM, Arjan van de Ven wrote:

> 
> Hi,
> 
> until OLS of this year, most people thought that Dave's shared page
> table patch was effectively a database-only hack, and thus not all that
> interesting...
> 
> however it's also possible to use shared page tables for shared
> libraries, and thus the gain is MUCH wider in scope. Dave has been so
> kind as to send me his latest patch, and I've done some measurements on
> my new x86-64 test machine (which runs FC6-test2)...
> 
> and the result is interesting:
> Just booting into runlevel 5 and logging into gnome (without starting
> any apps) gets a sharing of 1284 pte pages! This means that five
> megabytes (!!) of memory is saved, and countless pagefaults are avoided.
> 

The shared page table patch also gives a nice boost to the fork speed as
tested on a woodcrest machine using lmbench-3.0-a7.

2.6.18-rc4 with shared page table enabled (usec):
fork 136
exec 303
sh   828

2.6.18-rc4 without shared page table (usec):
fork 179
exec 364
sh   949

The test was done with the lmbench option to pin both parent and child
onto the same cpu core, and lmbench includes the overhead of calling
sched_setaffinity.

Tim Chen
-
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