mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
5ad7fc7335
When adding 10,000 users, one user would end up in over 1000 groups. With 100,000 users, it would be more like 10,000 groups. While it makes sense to have groups with large numbers of users, having a single user in 1000s of groups is probably less realistic. This patch changes the shape of the Pareto distribution that we use to assign users to groups. The aim is to cap users at belonging to at most ~500 groups. Increasing the shape of the Pareto distribution pushes the user assignments so they're closer to the average, and the tail (with users in lots of groups) is not so large). Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> |
||
---|---|---|
.. | ||
__init__.py | ||
traffic_packets.py | ||
traffic.py |