linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Followup: [PATCH -mm] make swapin readahead skip over holes
@ 2012-04-16 18:34 Dan Magenheimer
  2012-04-16 20:13 ` Rik van Riel
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Magenheimer @ 2012-04-16 18:34 UTC (permalink / raw)
  To: riel; +Cc: linux-kernel, linux-mm

Hi Rik --

I saw this patch in 3.4-rc1 (because it caused a minor merge
conflict with frontswap) and wondered about its impact.
Since I had a server still set up from running benchmarks
before LSFMM, I ran my kernel compile -jN workload (with
N varying from 4 to 40) on 1GB of RAM, on 3.4-rc2 both with
and without this patch.

For values of N=24 and N=28, your patch made the workload
run 4-9% percent faster.  For N=16 and N=20, it was 5-10%
slower.  And for N=36 and N=40, it was 30%-40% slower!

Is this expected?  Since the swap "disk" is a partition
on the one active drive, maybe the advantage is lost due
to contention?

Thanks,
Dan

commit removed 67f96aa252e606cdf6c3cf1032952ec207ec0cf0

Workload:
	kernel compile "make -jN" with varying N
	measurements in elapsed seconds
	boot kernel: 3.4-rc2
	Oracle Linux 6 distro with ext4
	fresh reboot for each test run
	all tests run as root in multi-user mode

Hardware:
	Dell Optiplex 790 = ~$500
	Intel Core i5-2400 @ 3.10 GHz, 4coreX2thread, 6M cache
	1GB RAM DDR3 1333Mhz (to force swapping)
	One 7200rpm SATA 6.0Gb/s drive with 8MB cache
	10GB swap partition

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-17 19:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-16 18:34 Followup: [PATCH -mm] make swapin readahead skip over holes Dan Magenheimer
2012-04-16 20:13 ` Rik van Riel
2012-04-17 15:20   ` Dan Magenheimer
2012-04-17 19:26     ` Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).