[MediaWiki-commits] [Gerrit] labstore: shape NFS read for dumps traffic - change (operations/puppet)

2016-04-18 Thread Rush (Code Review)
Rush has submitted this change and it was merged.

Change subject: labstore: shape NFS read for dumps traffic
..


labstore: shape NFS read for dumps traffic

We have been having issues with hosts hammering dumps for read
and rendering the host unusable for other users.  This is
similar to measures taken elsewhere with a higher ceiling.

Change-Id: Ia323a8634bb092795de2a904435f537519e016ac
---
M modules/labstore/files/tc-setup.sh
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Yuvipanda: Looks good to me, but someone else must approve
  Rush: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/labstore/files/tc-setup.sh 
b/modules/labstore/files/tc-setup.sh
index f7f5082..a8982f8 100644
--- a/modules/labstore/files/tc-setup.sh
+++ b/modules/labstore/files/tc-setup.sh
@@ -13,6 +13,7 @@
 modules='act_mirr ifb'
 nfs_write='7000kbps'
 nfs_read='9500kbps'
+nfs_dumps_read='15000kbps'
 eth0_egress='3kbps'
 
 function ensure_mod {
@@ -85,6 +86,8 @@
 
 $TC class add dev ifb0 parent 1: classid 1:3 htb rate $nfs_read
 
+$TC class add dev ifb0 parent 1: classid 1:4 htb rate $nfs_dumps_read
+
 $TC filter add dev ifb0 parent 1: protocol ip prio 0 u32 \
  match ip src 10.64.37.6 flowid 1:1
 
@@ -93,3 +96,6 @@
 
 $TC filter add dev ifb0 parent 1: protocol ip prio 0 u32 \
  match ip src 10.64.37.10 flowid 1:3
+
+$TC filter add dev ifb0 parent 1: protocol ip prio 0 u32 \
+ match ip src 10.64.4.10 flowid 1:4

-- 
To view, visit https://gerrit.wikimedia.org/r/284094
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia323a8634bb092795de2a904435f537519e016ac
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Rush 
Gerrit-Reviewer: Rush 
Gerrit-Reviewer: Yuvipanda 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] labstore: shape NFS read for dumps traffic - change (operations/puppet)

2016-04-18 Thread Rush (Code Review)
Rush has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/284094

Change subject: labstore: shape NFS read for dumps traffic
..

labstore: shape NFS read for dumps traffic

We have been having issues with hosts hammering dumps for read
and rendering the host unusable for other users.  This is
similar to measures taken elsewhere with a higher ceiling.

Change-Id: Ia323a8634bb092795de2a904435f537519e016ac
---
M modules/labstore/files/tc-setup.sh
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/94/284094/1

diff --git a/modules/labstore/files/tc-setup.sh 
b/modules/labstore/files/tc-setup.sh
index f7f5082..a8982f8 100644
--- a/modules/labstore/files/tc-setup.sh
+++ b/modules/labstore/files/tc-setup.sh
@@ -13,6 +13,7 @@
 modules='act_mirr ifb'
 nfs_write='7000kbps'
 nfs_read='9500kbps'
+nfs_dumps_read='15000kbps'
 eth0_egress='3kbps'
 
 function ensure_mod {
@@ -85,6 +86,8 @@
 
 $TC class add dev ifb0 parent 1: classid 1:3 htb rate $nfs_read
 
+$TC class add dev ifb0 parent 1: classid 1:4 htb rate $nfs_dumps_read
+
 $TC filter add dev ifb0 parent 1: protocol ip prio 0 u32 \
  match ip src 10.64.37.6 flowid 1:1
 
@@ -93,3 +96,6 @@
 
 $TC filter add dev ifb0 parent 1: protocol ip prio 0 u32 \
  match ip src 10.64.37.10 flowid 1:3
+
+$TC filter add dev ifb0 parent 1: protocol ip prio 0 u32 \
+ match ip src 10.64.4.10 flowid 1:4

-- 
To view, visit https://gerrit.wikimedia.org/r/284094
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia323a8634bb092795de2a904435f537519e016ac
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Rush 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits