Linux 上的 ACL 是否影响性能
我们计划在 Linux 平台上实施 ACL。 只有一个特定组会受到 ACL 的管辖。 该组最多有 20 个用户。 所有限制都在目录级别(而不是文件名级别) 这会对服务器的性能/响应能力产生任何影响吗?
We are planning to implement ACL on our Linux platform.
Only one particular group is going to come under ACL.
This group would have at the max 20 users.
All of the restrictions would be at directory level (not at file name level)
Would this show any impact on the server's performance/responsiveness?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
时间复杂度取决于ACL,例如SELInux和AppArmor比传统文件权限有更多的开销。然而,Linux内核中的许多安全系统的时间复杂度为O(1),即尽可能降低时间复杂度,这意味着没有额外的开销。
The time complexity depends on the ACL For instance SELInux and AppArmor have more overhead than traditional file permissions. However, many secuirty systems in the linux kernel have a time complexity of O(1), which is lowest time complexity possible and it means that there is no additional overhead.
其实不然,开销微不足道。基于网络的 ACL 方案和完全基于本地计算机的 ACL 方案就是这种情况。
Not really, the overhead is insignificant. This is the case for ACL scehemes that are network based and those that are entirely local machine based.