{"id":326,"date":"2015-12-22T11:19:30","date_gmt":"2015-12-22T11:19:30","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=326"},"modified":"2015-12-22T11:19:30","modified_gmt":"2015-12-22T11:19:30","slug":"setting-up-linux-qos-with-wondershaper-software","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2015\/12\/22\/setting-up-linux-qos-with-wondershaper-software\/","title":{"rendered":"Setting up Linux QOS with Wondershaper software"},"content":{"rendered":"<p>So, a customer wanted to restrict the amount of bandwidth used by his cloud server, with a kind of self-QOS like service. <\/p>\n<p>To do this is actually quite simple, wondershaper is the magic wand for you.<\/p>\n<pre>\r\n# Install\r\napt-get install wondershaper \r\n# or\r\nyum install wondershaper\r\n\r\n#Configure for interface\r\nsudo wondershaper eth1 256 128  \r\n\r\n<\/pre>\n<p>(Values are in kbit, so be sure to remember!)<\/p>\n<p>If this isn&#8217;t suitable for you and you want something to restrict user space, like applications, then use trickle. <\/p>\n<pre>\r\n$ trickle -u {up} -d {down} {program}  \r\n<\/pre>\n<p>i.e. for  restricting firefox to 8Kb\/s up and down use:<\/p>\n<pre>\r\n    $ trickle -u 8 -d 8 firefox  \r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>So, a customer wanted to restrict the amount of bandwidth used by his cloud server, with a kind of self-QOS like service. To do this is actually quite simple, wondershaper is the magic wand for you. # Install apt-get install &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2015\/12\/22\/setting-up-linux-qos-with-wondershaper-software\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-326","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=326"}],"version-history":[{"count":1,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/326\/revisions"}],"predecessor-version":[{"id":327,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/326\/revisions\/327"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}