> But, boy oh boy, that synchronize_rcu() call sure takes it time. > > My cpuset torture test was creating, destroying and abusing about 2600 > cpusets/sec before this change, and now it does about 144 cpusets/sec. > > That cost 95% of the performance. This only hits on the cost of > attaching a task to a different cpuset (by writing its <pid> to > some other cpuset 'tasks' file.) That is why call_rcu.et.al. is a better interface if you want performance. It runs the freeing batched in the background. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Paul Jackson <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- References:
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Paul Jackson <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Andrew Morton <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Paul Jackson <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Eric Dumazet <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Christoph Lameter <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Eric Dumazet <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Paul Jackson <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Eric Dumazet <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Paul Jackson <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Paul Jackson <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- Prev by Date: Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- Next by Date: Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- Previous by thread: Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- Next by thread: Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- Index(es):