docs: create debian/limit-upload-speed

This commit is contained in:
2024-04-17 23:05:51 +00:00
parent ca8620d307
commit 7746db29cc

26
debian/limit-upload-speed.md vendored Normal file
View File

@@ -0,0 +1,26 @@
---
title: limit upload speed
description:
published: true
date: 2024-04-17T23:05:48.313Z
tags:
editor: markdown
dateCreated: 2024-04-17T23:05:48.313Z
---
### check speed
```bash
speedtest
```
### view eth0 speed
```bash
nload eth0
```
### limit upload to 50Mbit
```bash
tc qdisc add dev eth0 root tbf rate 500kbit burst 16kbit latency 50ms
```
### remove limit on upload
```bash
tc qdisc del dev eth0 root
```