Advertisement
corrosiontears

#TEST# Performance Tunings for Desktop 3GB RAM

Jul 28th, 2016
533
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.87 KB | None | 0 0
  1. ### Original Article: http://www.linuxquestions.org/questions/blog/ugjka-1011246/performance-tunings-for-desktop-intel-gm45-gfx-3gb-ram-36923/
  2.  
  3. ### BOOT Kernel Parameters ###
  4. workqueue.power_efficient=0 # : Disable power savings and increase performance
  5. pcie_bus_perf # : Set device MPS to the largest allowable MPS
  6. elevator=bfq # : Use Brainfuck Scheduler for IO
  7. zswap.enabled=1 # : Enable compressed ram swap cache for faster access of Swap
  8. zswap.max_pool_percent=1 # : Set zswap to 1 percent of RAM
  9.  
  10. ### Sysctl Parameters ###
  11.  
  12. # /etc/sysctl.d/99-sysctl.conf
  13. vm.swappiness=30
  14. vm.vfs_cache_pressure=50
  15. vm.dirty_background_bytes = 33554432
  16. vm.dirty_bytes = 268435456
  17. vm.dirty_expire_centisecs= 6000
  18. vm.zone_reclaim_mode=1
  19. vm.page-cluster=0
  20. vm.compact_memory=1
  21.  
  22. ### I/O Queue ###
  23.  
  24. # /etc/tmpfiles.d/nr_requests.conf
  25. w /sys/block/sda/queue/nr_requests - - - - 1024
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement