[pnfs] Server sessions slot table patches

William A. (Andy) Adamson andros at citi.umich.edu
Wed Apr 4 08:28:39 EDT 2007


On 4/3/07, Iyer, Rahul <Rahul.Iyer at netapp.com> wrote:
>
> Hi Andy,
> The exchange_id patches look ok. As for the slot table patches, I had a
> couple of comments:
>
> How fast is crc32c? Since it's a crypto digest/CRC calculator (I don't
> know what it is), is it slow? We don't wasn't this being a bottleneck.
> We need a reasonable hash with a decent spread, not necessarily a secure
> one.


fast enough to be used to calculate the checksum on all IP packets. i'll try
to measure it, the clock might not be of fine enough granularity....

i'm not using it for security, rather because unlike the XOR which it
replaces, the CRC32 produces unique values.

Also, I'd suggest making the has table size prime... It helps the spread
> with the modulo.


ok.

In patch 0007 of the slot table, in nfsd4_sequence, the KERN_EMERG could
> be KERN_ERROR or KERN_NOTICE (I know I'm responsible for the EMERG ;) )



ok.

Regards
> Rahul
>
>
> > -----Original Message-----
> > From: William A. (Andy) Adamson [mailto:andros at citi.umich.edu]
> > Sent: Tuesday, April 03, 2007 6:43 AM
> > To: pnfs at linux-nfs.org
> > Subject: [pnfs] Server sessions slot table patches
> >
> > hi
> >
> > here are 9 patches that implement the server slot table
> > management. there is not DRC yet, but this code has been
> > developed with the DRC in mind. This code almost passes the
> > connectathon tests on the 4.1-sessions branch with the client
> > patches i just sent out.
> >
> > it fails the general connectathon tests with an
> > NFS4ERR_SEQ_MISORDERED. i note that the client mostly uses
> > slot 0, and occasionally uses slot 1. the slot 1 sequence is
> > out of order - i don't know if it is the client or server.
> >
> > please review the patches...
> >
> > thanks
> >
> > -->Andy
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux-nfs.org/pipermail/pnfs/attachments/20070404/6d7c753c/attachment.htm 


More information about the pNFS mailing list