[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 09/10] qht: add test program
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [PATCH 09/10] qht: add test program |
Date: |
Wed, 20 Apr 2016 08:50:01 +0100 |
User-agent: |
mu4e 0.9.17; emacs 25.0.92.6 |
Emilio G. Cota <address@hidden> writes:
> On Fri, Apr 08, 2016 at 11:45:41 +0100, Alex Bennée wrote:
> (snip the entire patch)
>> A couple of notes:
>>
>> - these should use the gtester boiler plate for reporting results
>
> Done in v3.
>
>> - AFAICT they are not exercising the multi-element hashing we actually
>> use in the main code
>> - it would be nice to add a check on the bucket/map distribution to
>> defend against the algorithm being accidentally weakened with follow up
>> patches
>
> I added tb hash chain info to 'info jit' to keep track of this. My goal
> with the test program is to check that the hash table is correct; I'd
> rather check performance with QEMU than with a made-up test, since
> it is QEMU's performance what we care about.
Fair enough. We could do with more TCG exercising test cases in the make
check but that's a different (and more difficult) problem.
>
> Thanks,
>
> Emilio
--
Alex Bennée
- [Qemu-devel] [PATCH 08/10] qht: QEMU's fast, resizable and scalable Hash Table, (continued)
- [Qemu-devel] [PATCH 04/10] seqlock: rename write_lock/unlock to write_begin/end, Emilio G. Cota, 2016/04/05
- [Qemu-devel] [PATCH 06/10] include: add xxhash.h, Emilio G. Cota, 2016/04/05
- [Qemu-devel] [PATCH 07/10] tb hash: hash phys_pc, pc, and flags with xxhash, Emilio G. Cota, 2016/04/05
- Re: [Qemu-devel] [PATCH 07/10] tb hash: hash phys_pc, pc, and flags with xxhash, Richard Henderson, 2016/04/05
- Re: [Qemu-devel] [PATCH 07/10] tb hash: hash phys_pc, pc, and flags with xxhash, Paolo Bonzini, 2016/04/05
- Re: [Qemu-devel] [PATCH 07/10] tb hash: hash phys_pc, pc, and flags with xxhash, Richard Henderson, 2016/04/05
- Re: [Qemu-devel] [PATCH 07/10] tb hash: hash phys_pc, pc, and flags with xxhash, Emilio G. Cota, 2016/04/05