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-next>] [day] [month] [year] [list]
Message-Id: <20100929190053.992911934@gulag1.americas.sgi.com>
Date:	Wed, 29 Sep 2010 14:00:53 -0500
From:	Robin Holt <holt@....com>
To:	lkml <linux-kernel@...r.kernel.org>
Cc:	Greg Kroah-Hartman <gregkh@...e.de>,
	Badari Pulavarty <pbadari@...ibm.com>,
	Dave Hansen <haveblue@...ibm.com>,
	Gary Hade <garyhade@...ibm.com>, Ingo Molnar <mingo@...e.hu>,
	Matt Tolentino <matthew.e.tolentino@...el.com>,
	"Robert P. J. Day" <rpjday@...shcourse.ca>
Subject: [Patch 0/3] Speed up link_mem_sections during boot.


During boot of a large system, we see a delay in the portion of boot which
is calling link_mem_sections().  On a 16TB x86_64 system, it is taking
1 hour 27 minutes.  With this patch set applied, it takes 46 seconds.

The speedup is accomplished by simply caching the results from the
previous find_memory_block and using that as a quick check to see if
the next block happens to be adjacent to the previous.  In our testing,
that was true 100% of the time.

---

 drivers/base/memory.c   |   28 ++++++++++++++++++----------
 drivers/base/node.c     |    8 +++++---
 include/linux/kobject.h |    2 ++
 include/linux/memory.h  |    2 ++
 lib/kobject.c           |   39 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 66 insertions(+), 13 deletions(-)
--
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