Thread (53 messages) 53 messages, 8 authors, 2011-05-10

Re: Scalability of interface creation and deletion

From: Alex Bligh <hidden>
Date: 2011-05-08 09:35:06

Eric,

--On 8 May 2011 09:12:22 +0200 Eric Dumazet [off-list ref] wrote:
By the way, if I change HZ from 1000 to 100 I now have ten times slower
result :
I repeated that test here. With HZ set to 1000 I got a total time of
4.022 seconds to remove 100 interfaces, of which:

Total 3.03808 Usage 199 Average 0.01527 elsewhere
Total 0.93992 Usage 200 Average 0.00470 synchronizing

as opposed to a total of 27.917 seconds with HZ set to 100, of which

Total 18.98515 Usage 199 Average 0.09540 elsewhere
Total 8.77581 Usage 200 Average 0.04388 synchronizing

Not quite a factor of 10 improvement, but nearly.

I have CONFIG_RCU_FAST_NO_HZ=y

I suspect this may just mean an rcu reader holds the rcu_read_lock
for a jiffies related time. Though I'm having difficulty seeing
what that might be on a system where the net is in essence idle.

-- 
Alex Bligh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help