lkml.org 
[lkml]   [2004]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernbench on 512p
Greg Edwards wrote:

>| >
>| Which value did you use for RCU_GROUP_SIZE? I'm not sure what's the
>| optimal value for 512p - probably 32 or so.
>
>I used what was defined in the patch
>
>+#define RCU_GROUP_SIZE 2
>
>I can try running with a couple different values and see how it looks.
>
>
>
Ok, that explains the lockstat: I've missed data on rcu_group_state.lock.

I'd just use 32. The code uses a two-level bitmap and the group size
specifies the size of the lower level.
Thus you use right now a 2/256 split. Therefore you still trash the
spinlock that protects the upper level. Group size 32 would generate a
32/16 split.

--
Manfred

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.364 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site