public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] reduce inter-node balancing frequency
@ 2004-07-15 22:29 Jesse Barnes
  2004-07-16  0:14 ` Martin J. Bligh
  2004-07-18 13:12 ` Jes Sorensen
  0 siblings, 2 replies; 14+ messages in thread
From: Jesse Barnes @ 2004-07-15 22:29 UTC (permalink / raw)
  To: linux-kernel, Nick Piggin, John Hawkes

[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

Nick, we've had this patch floating around for awhile now and I'm wondering 
what you think.  It's needed to boot systems with lots (e.g. 256) nodes, but 
could probably be done another way.  Do you think we should create a 
scheduler domain for every 64 nodes or something?  Any other NUMA folks have 
thoughts about these values?

Thanks,
Jesse

[-- Attachment #2: scheduler-numa-tweak.patch --]
[-- Type: text/x-diff, Size: 726 bytes --]

===== include/linux/sched.h 1.227 vs edited =====
--- 1.227/include/linux/sched.h	2004-07-01 22:23:48 -07:00
+++ edited/include/linux/sched.h	2004-07-15 14:53:50 -07:00
@@ -651,9 +651,9 @@
 	.span			= CPU_MASK_NONE,	\
 	.parent			= NULL,			\
 	.groups			= NULL,			\
-	.min_interval		= 8,			\
-	.max_interval		= 32,			\
-	.busy_factor		= 32,			\
+	.min_interval		= 80,			\
+	.max_interval		= 320,			\
+	.busy_factor		= 320,			\
 	.imbalance_pct		= 125,			\
 	.cache_hot_time		= (10*1000000),		\
 	.cache_nice_tries	= 1,			\
@@ -662,7 +662,7 @@
 				| SD_BALANCE_CLONE	\
 				| SD_WAKE_BALANCE,	\
 	.last_balance		= jiffies,		\
-	.balance_interval	= 1,			\
+	.balance_interval	= 10,			\
 	.nr_balance_failed	= 0,			\
 }
 #endif

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

end of thread, other threads:[~2004-07-18 13:12 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-15 22:29 [PATCH] reduce inter-node balancing frequency Jesse Barnes
2004-07-16  0:14 ` Martin J. Bligh
2004-07-16  0:38   ` Jesse Barnes
2004-07-16  1:48     ` Nick Piggin
2004-07-16  1:58       ` Jesse Barnes
2004-07-16  5:40         ` Martin J. Bligh
2004-07-16  5:53           ` Nick Piggin
2004-07-16 14:45             ` Jesse Barnes
2004-07-16 15:04               ` Chris Wedgwood
2004-07-16 15:30                 ` Jesse Barnes
2004-07-17  3:00               ` Nick Piggin
2004-07-17 16:44                 ` Jesse Barnes
2004-07-16 14:42           ` Jesse Barnes
2004-07-18 13:12 ` Jes Sorensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox