Re: speed regression in udp_lib_lport_inuse()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vitaly Mayatskikh
Date: Thursday, January 22, 2009 - 3:40 pm

At Thu, 22 Jan 2009 23:06:59 +0100, Eric Dumazet wrote:


Yeah, there was assert(), but the program drops to problems very soon,
I was lazy to handle this situation correctly and just removed it ;)


Very true, my (older) kernel with udp_hash_lock just become totally
unresponsive after running this test. .29-rc2 become jerky only, but
still works.


I think 2 is definitely better than 1, because 1 is not actually
fixing anything, but postpones the problem slightly.


Cool!


You saved my time, I was thinking about trying mutexes also. Thanks :)

--
wbr, Vitaly
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
speed regression in udp_lib_lport_inuse(), Vitaly Mayatskikh, (Thu Jan 22, 11:49 am)
Re: speed regression in udp_lib_lport_inuse(), Eric Dumazet, (Thu Jan 22, 3:06 pm)
Re: speed regression in udp_lib_lport_inuse(), Evgeniy Polyakov, (Thu Jan 22, 3:14 pm)
Re: speed regression in udp_lib_lport_inuse(), Vitaly Mayatskikh, (Thu Jan 22, 3:40 pm)
Re: speed regression in udp_lib_lport_inuse(), Eric Dumazet, (Thu Jan 22, 5:14 pm)
Re: speed regression in udp_lib_lport_inuse(), Eric Dumazet, (Thu Jan 22, 5:20 pm)
Re: speed regression in udp_lib_lport_inuse(), Vitaly Mayatskikh, (Fri Jan 23, 2:42 am)
Re: speed regression in udp_lib_lport_inuse(), Eric Dumazet, (Fri Jan 23, 4:45 am)
Re: speed regression in udp_lib_lport_inuse(), Eric Dumazet, (Fri Jan 23, 6:44 am)
Re: speed regression in udp_lib_lport_inuse(), Vitaly Mayatskikh, (Fri Jan 23, 7:56 am)
Re: speed regression in udp_lib_lport_inuse(), Eric Dumazet, (Fri Jan 23, 9:05 am)
Re: speed regression in udp_lib_lport_inuse(), Vitaly Mayatskikh, (Fri Jan 23, 9:14 am)
[PATCH] udp: optimize bind(0) if many ports are in use, Eric Dumazet, (Mon Jan 26, 1:20 am)