Jira (PUP-10313) Selmodule provider fetch loaded modules performance

0 views
Skip to first unread message

Thomas Montague (JIRA)

unread,
Feb 25, 2020, 11:14:04 AM2/25/20
to puppe...@googlegroups.com
Thomas Montague created an issue
 
Puppet / Improvement PUP-10313
Selmodule provider fetch loaded modules performance
Issue Type: Improvement Improvement
Affects Versions: PUP 5.5.z
Assignee: Thomas Montague
Components: Types and Providers
Created: 2020/02/25 8:13 AM
Priority: Normal Normal
Reporter: Thomas Montague

Creating PUP ticket for MODULES-7319.

The selmodule provider ends up calling /usr/sbin/semodule --list one or twice per resource. This results in a heavy duplication of effort and increased apply time. By implementing a cache, apply times drop 80% or more.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Thomas Montague (JIRA)

unread,
Feb 25, 2020, 11:15:04 AM2/25/20
to puppe...@googlegroups.com

Jorie Tappa (Jira)

unread,
Mar 2, 2020, 2:30:04 PM3/2/20
to puppe...@googlegroups.com
Jorie Tappa updated an issue
 
Change By: Jorie Tappa
Team: Night's Watch
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Thomas Montague (Jira)

unread,
Mar 2, 2020, 10:01:04 PM3/2/20
to puppe...@googlegroups.com
Thomas Montague updated an issue
Change By: Thomas Montague
Creating PUP ticket for MODULES-7319.

The {{selmodule}} provider ends up calling {{/usr/sbin/semodule --list}} one or twice _per_ resource. This results in a heavy duplication of effort and increased apply time. By implementing a cache, apply times drop 80 50 % or more.

Mihai Buzgau (Jira)

unread,
Mar 3, 2020, 10:38:04 AM3/3/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: NW - 2020-03-17

Mihai Buzgau (Jira)

unread,
Mar 5, 2020, 4:06:03 AM3/5/20
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Mar 18, 2020, 4:54:04 AM3/18/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: NW - 2020-03-17 , NW - 2020-04-01

Gheorghe Popescu (Jira)

unread,
Mar 27, 2020, 3:35:04 AM3/27/20
to puppe...@googlegroups.com
Gheorghe Popescu updated an issue
Change By: Gheorghe Popescu
Release Notes Summary: Improved performance on the selmodule provider
The `selmodule` provider was calling `/usr/sbin/semodule —list` one or twice per resource. This results in a heavy duplication of effort and increased apply time.
Thanks https://github.com/montaguethomas for for implementing a cache which improves the performance.

Gheorghe Popescu (Jira)

unread,
Mar 27, 2020, 3:36:03 AM3/27/20
to puppe...@googlegroups.com

Gabriel Nagy (Jira)

unread,
Apr 23, 2020, 8:04:03 AM4/23/20
to puppe...@googlegroups.com
Gabriel Nagy updated an issue
Change By: Gabriel Nagy
Fix Version/s: PUP 5.5.20

Claire Cadman (Jira)

unread,
Apr 27, 2020, 8:50:03 AM4/27/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Oct 23, 2020, 8:03:03 PM10/23/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Affects Version/s: PUP 5.5.z
Affects Version/s: PUP 5.5.19
Reply all
Reply to author
Forward
0 new messages