[OpenAFS-devel] cannot shutdown 1.3.81 on linux 2.6.12-rc[12]

Roland Kuhn rkuhn@e18.physik.tu-muenchen.de
Wed, 20 Apr 2005 18:06:35 +0200


--Apple-Mail-7-414525984
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed

Hi Chas!

On Apr 20, 2005, at 5:33 PM, chas williams - CONTRACTOR wrote:

> In message 
> <Pine.GSO.4.61-042.0504201116450.26028@johnstown.andrew.cmu.edu>,Der
> rick J Brashear writes:
>>> i would suggest that the mutexes in afs not be conditional at all.
>>> it seems like there is little benefit to not having them.
>>
>> Overhead?
>
> the overhead of the afs global mutex is going to be pretty small.
> other platforms don't bother with optimizing it away for the
> uniprocessor case and i dont see complaints about performance
> issues related to afs glock.

Please forgive my ignorance concerning the openafs source, but which 
parts are synchronized by the AFS_GLOCK? I know that I can find the 
details with grep, but what is the big picture?

How could I find out if it's AFS_GLOCK(), which is reducing 
performance? Or, more generally, how can I best test AFS locking? I'm 
running Ingo Molnar's realtime-preempt patch and lightweight usage has 
not shown any problems yet (just the shutdown failure when running an 
UP kernel).

Ciao,
					Roland

--
TU Muenchen, Physik-Department E18, James-Franck-Str. 85747 Garching
Telefon 089/289-12592; Telefax 089/289-12570
--
When I am working on a problem I never think about beauty.  I think
only how to solve the problem.  But when I have finished, if the
solution is not beautiful, I know it is wrong.
-- R. Buckminster Fuller
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GS/CS/M/MU d-(++) s:+ a-> C+++ UL++++ P-(+) L+++ E(+) W+ !N K- w--- M+ 
!V Y+
PGP++ t+(++) 5 R+ tv-- b+ DI++ e+++>++++ h---- x+++
------END GEEK CODE BLOCK------


--Apple-Mail-7-414525984
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCZn4PI4MWO8QIRP0RAmdkAJ0TtiOpwlTnO03TqeX3dfTK6bri6ACgiDsD
SeqKBJXpGLxVhV/606Qhspc=
=DZUp
-----END PGP SIGNATURE-----

--Apple-Mail-7-414525984--