{"id":57,"date":"2018-01-13T16:03:00","date_gmt":"2018-01-13T16:03:00","guid":{"rendered":"http:\/\/malwrforensics.com\/en\/?p=57"},"modified":"2018-02-12T03:40:08","modified_gmt":"2018-02-12T03:40:08","slug":"change-swappiness-in-ubuntu","status":"publish","type":"post","link":"https:\/\/malwrforensics.com\/en\/2018\/01\/13\/change-swappiness-in-ubuntu\/","title":{"rendered":"Change swappiness in Ubuntu"},"content":{"rendered":"<p>Linux uses a swap partition, that represents the system&#8217;s virtual memory. The swappiness represents how often the system will copy stuff from RAM to disk\/virtual memory. The more RAM you have, the less you need to copy to disk and by setting the swappiness to a lower value will result in an overall speed increase.<\/p>\n<p>#check current value<br \/>\n<em>cat \/proc\/sys\/vm\/swappiness<\/em><\/p>\n<p>#edit \/etc\/sysctl.conf and append the following line<br \/>\n<em>vm.swappiness=10<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux uses a swap partition, that represents the system&#8217;s virtual memory. The swappiness represents how often the system will copy stuff from RAM to disk\/virtual memory. The more RAM you have, the less you need to copy to disk and by setting the swappiness to a lower value will result in an overall speed increase. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[11,16,15],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-security","tag-linux","tag-swappiness","tag-ubuntu"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[]}},"featured_image_urls_v2":{"full":"","thumbnail":"","medium":"","medium_large":"","large":"","1536x1536":"","2048x2048":""},"post_excerpt_stackable_v2":"<p>Linux uses a swap partition, that represents the system&#8217;s virtual memory. The swappiness represents how often the system will copy stuff from RAM to disk\/virtual memory. The more RAM you have, the less you need to copy to disk and by setting the swappiness to a lower value will result in an overall speed increase. #check current value cat \/proc\/sys\/vm\/swappiness #edit \/etc\/sysctl.conf and append the following line vm.swappiness=10<\/p>\n","category_list_v2":"<a href=\"https:\/\/malwrforensics.com\/en\/category\/security\/\" rel=\"category tag\">Security<\/a>","author_info_v2":{"name":"malwrforensics","url":"https:\/\/malwrforensics.com\/en\/author\/u_malwrforensics\/"},"comments_num_v2":"0 comments","_links":{"self":[{"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":3,"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"predecessor-version":[{"id":205,"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/posts\/57\/revisions\/205"}],"wp:attachment":[{"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}