Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
slapos.package
Commits
e6c2e9d3
Commit
e6c2e9d3
authored
Aug 26, 2015
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configure dirty_ratio and dirty_background_ratio for better disk caching
parent
c5e75b85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
playbook/roles/vm-bootstrap/tasks/main.yml
playbook/roles/vm-bootstrap/tasks/main.yml
+8
-3
No files found.
playbook/roles/vm-bootstrap/tasks/main.yml
View file @
e6c2e9d3
-
include
:
uploadlog.yml
-
include
:
uploadlog.yml
-
include
:
rerun.yml
-
name
:
set dirty ratio
sysctl
:
name="vm.dirty_ratio" value=10 sysctl_set=yes state=present reload=yes
-
name
:
set dirty background ratio
sysctl
:
name="vm.dirty_background_ratio" value=5 sysctl_set=yes state=present reload=yes
-
name
:
Create /etc/opt dir
file
:
dest=/etc/opt mode=775 state=directory
...
...
@@ -27,4 +32,4 @@
-
include
:
hostname.yml
-
include
:
user.yml
-
include
:
sudo.yml
-
include
:
ssh.yml
-
include
:
ssh.yml
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment