Searched hist:74501 (Results 1 - 3 of 3) sorted by relevance
/freebsd-10.2-release/sys/sys/ | ||
H A D | fnv_hash.h | diff 74501 Tue Mar 20 02:10:18 MST 2001 peter Use the same API as the example code. Allow the initial hash value to be passed in, as the examples do. Incrementally hash in the dvp->v_id (using the official api) rather than add it. This seems to help power-of-two predictable filename trees where the filenames repeat on a power-of-two cycle and the directory trees have power-of-two components in it. The simple add then mask was causing things like 12000+ entry collision chains while most other entries have between 0 and 3 entries each. This way seems to improve things. |
/freebsd-10.2-release/sys/nfsclient/ | ||
H A D | nfs_node.c | diff 74501 Tue Mar 20 02:10:18 MST 2001 peter Use the same API as the example code. Allow the initial hash value to be passed in, as the examples do. Incrementally hash in the dvp->v_id (using the official api) rather than add it. This seems to help power-of-two predictable filename trees where the filenames repeat on a power-of-two cycle and the directory trees have power-of-two components in it. The simple add then mask was causing things like 12000+ entry collision chains while most other entries have between 0 and 3 entries each. This way seems to improve things. |
/freebsd-10.2-release/sys/kern/ | ||
H A D | vfs_cache.c | diff 74501 Tue Mar 20 02:10:18 MST 2001 peter Use the same API as the example code. Allow the initial hash value to be passed in, as the examples do. Incrementally hash in the dvp->v_id (using the official api) rather than add it. This seems to help power-of-two predictable filename trees where the filenames repeat on a power-of-two cycle and the directory trees have power-of-two components in it. The simple add then mask was causing things like 12000+ entry collision chains while most other entries have between 0 and 3 entries each. This way seems to improve things. |
Completed in 125 milliseconds