[OpenAFS-devel] .35 sec rx delay bug?

Rainer Toebbicke rtb@pclella.cern.ch
Mon, 06 Nov 2006 16:38:02 +0100


Derrick J Brashear wrote:

> 
> Do you have a patch of what you have so far?
> 

Help yourself, work in progress:

/afs/cern.ch/user/r/rtb/public/rx_patch_LockAndClock

(the patch is called ...AndClock since it also switches to using the 
itimer interface which is faster than gettimeofday()). But it's 
obvious how to revert that part if ever.

For Tom Keiser:

it's based on 1.4.1, adapted to 1.4.2.

You're right, releasing and re-acquiring a mutex is exppensive, 
therefore I packed an additional drop_lock into the call struct which 
anybody can set, and which causes the lock to be dropped.


Lockless however: you need the call->lock whatever you're doing. For a 
loooong time.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rainer Toebbicke
European Laboratory for Particle Physics(CERN) - Geneva, Switzerland
Phone: +41 22 767 8985       Fax: +41 22 767 7155