From 37e2a687e3a67a3ea14f8ed01a52ec6a76149990 Mon Sep 17 00:00:00 2001 From: Bostjan Skufca Date: Fri, 5 Sep 2014 22:34:40 +0000 Subject: [PATCH] sub[ug]id manpages: add note about performance when using login names versus UIDs Signed-off-by: Serge Hallyn --- man/subgid.5.xml | 7 +++++++ man/subuid.5.xml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/man/subgid.5.xml b/man/subgid.5.xml index 27799ba9..ffdb7d80 100644 --- a/man/subgid.5.xml +++ b/man/subgid.5.xml @@ -77,6 +77,13 @@ Multiple ranges may be specified per user. + + When large number of entries (10000-100000 or more) are defined in + /etc/subgid, parsing performance penalty will + become noticeable. In this case it is recommended to use UIDs + instead of login names. Benchmarks have shown speed-ups up to 20x. + + diff --git a/man/subuid.5.xml b/man/subuid.5.xml index 939ea166..2890661d 100644 --- a/man/subuid.5.xml +++ b/man/subuid.5.xml @@ -77,6 +77,13 @@ Multiple ranges may be specified per user. + + When large number of entries (10000-100000 or more) are defined in + /etc/subuid, parsing performance penalty will + become noticeable. In this case it is recommended to use UIDs + instead of login names. Benchmarks have shown speed-ups up to 20x. + +