LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Connection table hashing

To: Roberto Nibali <ratz@xxxxxxxxxxxx>
Subject: Re: Connection table hashing
Cc: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Thu, 19 Jun 2003 01:36:24 +0300 (EEST)
        Hello,

On Thu, 19 Jun 2003, Roberto Nibali wrote:

> Hi Julian,
>
> > http://www.ssi.bg/~ja/lvs/
> > test.txt contains short instructions for testing.
> > ipvs-1.0.9-hash1.diff - test version for 2.4.21
>
> What do you think about exporting the hash bucket distribution to the
> proc-fs for debug=1? People could send it in easier for us. I also think

        I'm not against this but it is problematic. If our
goal is to test different hash funcs then we need the raw data,
the distribution according to the default hash funcs is of no
help because we can deduce it based on the CIP:CPORT (for each
hash func we have). Or you have something else in mind? If you
have better ideas please go ahead, I just wanted to make
comparison without any kernel patching. You extract the data
once and then compare all funcs with same data.

> that the multi-cycle latency instructions from mix() might yield
> increased TLB flushes on HT enabled Pentium processors.

        mix was designed for 2-way but there are so many shifts.
The modern CPUs multiply faster.

        BTW, I suspect our implementation in DH and the old tests with
2654435761. May be it is more correct to get the highest bits (as
in hashlvs-0.2)?

> Cheers,
> ratz

Regards

--
Julian Anastasov <ja@xxxxxx>

<Prev in Thread] Current Thread [Next in Thread>