{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/trickle/feed/json -- and add it your reader.", "home_page_url": "https://matoken.org/blog/tag/trickle", "feed_url": "https://matoken.org/blog/tag/trickle/feed/json", "language": "ja", "title": "trickle – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "https://matoken.org/blog/?p=4214", "url": "https://matoken.org/blog/2024/11/05/throttle-the-network-bandwidth-for-a-specific-command-with-the-trickle-command/", "title": "trickle\u30b3\u30de\u30f3\u30c9\u3067\u7279\u5b9a\u306e\u30b3\u30de\u30f3\u30c9\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5e2f\u57df\u3092\u7d5e\u308b", "content_html": "

\n
\n

\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u30d3\u30c7\u30aa\u3092\u898b\u3066\u3044\u308b\u3068\u304d\u306b\u4ed6\u306e\u901a\u4fe1\u3092\u884c\u3046\u3068\u30d3\u30c7\u30aa\u306e\u753b\u8cea\u304c\u6b62\u307e\u3063\u3066\u3057\u307e\u3044\u30b9\u30c8\u30ec\u30b9\u3067\u3059\uff0e\u30ed\u30fc\u30ab\u30eb\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u51fa\u6765\u308b\u3082\u306e\u306f\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304b\u3089\u518d\u751f\u3059\u308b\u3053\u3068\u3067\u30b9\u30c8\u30ec\u30b9\u306a\u304f\u8996\u8074\u53ef\u80fd\u3067\u3059\u304c\u305d\u308c\u304c\u3067\u304d\u306a\u3044\u3082\u306e\u3084\u30e9\u30a4\u30d6\u3060\u3068\u3067\u304d\u307e\u305b\u3093\uff0e
\n\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u306f\u5e2f\u57df\u3092\u7d5e\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u304c\u305d\u308c\u304c\u306a\u3044\u3082\u306e\u306f\u4e0d\u4fbf\uff0e\u4eca\u56de trickle \u3068\u3044\u3046\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u7279\u5b9a\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5e2f\u57df\u3092\u7d5e\u3063\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n
\n\n
\n

\n
\n

\u4eca\u56deRaspberry Pi OS bookworm armhf\u74b0\u5883\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u304b\u3089\u5c0e\u5165\u3057\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ sudo apt install trickle\n$ trickle -h\nUsage: trickle [-hvVs] [-d <rate>] [-u <rate>] [-w <length>] [-t <seconds>]\n               [-l <length>] [-n <path>] command ...\n        -h           Help (this)\n        -v           Increase verbosity level\n        -V           Print trickle version\n        -s           Run trickle in standalone mode independent of trickled\n        -d <rate>    Set maximum cumulative download rate to <rate> KB/s\n        -u <rate>    Set maximum cumulative upload rate to <rate> KB/s\n        -w <length>  Set window length to <length> KB\n        -t <seconds> Set default smoothing time to <seconds> s\n        -l <length>  Set default smoothing length to <length> KB\n        -n <path>    Use trickled socket name <path>\n        -L <ms>      Set latency to <ms> milliseconds\n        -P <path>    Preload the specified .so instead of the default one
\n
\n
\n
\n

wget\u306b\u306f\u5e2f\u57df\u3092\u7d5e\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059( --limit-rate )\u304c\u304a\u624b\u8efd\u306a\u306e\u3067\u307e\u305a\u306f\u3053\u308c\u3067\u8a66\u3057\u307e\u3059\uff0e
\n\u3053\u3053\u3067\u306f -s \u3067\u30c7\u30fc\u30e2\u30f3\u3092\u4f7f\u308f\u305a\u30a2\u30c9\u30db\u30c3\u30af\u306b\u5229\u7528\u3057\u307e\u3059\uff0e
\n-d 30 \u3068\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3092 30KB/s \u306b\u5236\u9650\u3057\u305f\u306e\u304c\u52b9\u3044\u3066\u3044\u308b\u3088\u3046\u3067\u305d\u308c\u306b\u8fd1\u3044\u901f\u5ea6\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0e

\n
\n
\n
\n
$ trickle -s -d 30 wget https://mirrors.edge.kernel.org/qubes/iso/Qubes-R4.2.3-x86_64.iso -O /dev/null\n   :\n/dev/null               0%[                       ]   2.63M  31.3KB/s    eta 2d 9h
\n
\n
\n
\n

\u6b21\u306b\u5e2f\u57df\u5236\u9650\u304c\u306a\u3055\u305d\u3046\u306aRaspberryPi\u306eKernel\u3092\u65b0\u3057\u304f\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u8a66\u3057\u307e\u3059\uff0e\u306f\u3058\u3081sudo\u30b3\u30de\u30f3\u30c9\u306e\u524d\u306btrickle\u3092\u7f6e\u304f\u3068\u52b9\u304d\u307e\u305b\u3093\u3067\u3057\u305f\uff0esudo\u306e\u5f8c\u308d\u306btrickle\u3092\u7f6e\u304f\u3053\u3068\u3067\u5e2f\u57df\u5236\u9650\u3067\u304d\u307e\u3057\u305f\uff0e\u3067\u3082\u4eca\u56de\u306f\u63a5\u7d9a\u304c\u5207\u308c\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e\u7a0b\u3005\u306b\u3057\u306a\u3044\u3068\u99c4\u76ee\u307f\u305f\u3044\u3067\u3059\u306d\uff0e\u3082\u3057\u304f\u306fcontinue\u3084retry\u3092\u4f7f\u3046\u3088\u3046\u66f8\u304d\u63db\u3048\u308b\uff0e

\n
\n
\n
\n
$ sudo trickle -s -d 30 rpi-update\n   :\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\n 15  144M   15 22.9M    0     0  28070      0  1:29:44  0:14:17  1:15:27 30009\ncurl: (56) Recv failure: Connection reset by peer
\n
\n
\n
\n

\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3054\u3068\u306e\u5e2f\u57df\u5236\u9650\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u899a\u3048\u304d\u308c\u306a\u3044\u3057\u6bce\u56de\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8abf\u3079\u308b\u306e\u306f\u9762\u5012\uff0e\u3067\u3082trickle\u3060\u3051\u306a\u3089\u899a\u3048\u3089\u308c\u305d\u3046\u3067\u3059\uff0e

\n
\n
\n
\u74b0\u5883
\n
\n
$ dpkg-query -W trickle wget curl\ncurl    8.5.0-2~bpo12+1\ntrickle 1.07-12\nwget    1.21.3-1+b1\n$ lsb_release -dr\nNo LSB modules are available.\nDescription:    Raspbian GNU/Linux 12 (bookworm)\nRelease:        12\n$ arch\narmv7l\n$ grep ^Model /proc/cpuinfo\nModel           : Raspberry Pi 3 Model B Rev 1.2
\n
\n
\n", "content_text": "\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u30d3\u30c7\u30aa\u3092\u898b\u3066\u3044\u308b\u3068\u304d\u306b\u4ed6\u306e\u901a\u4fe1\u3092\u884c\u3046\u3068\u30d3\u30c7\u30aa\u306e\u753b\u8cea\u304c\u6b62\u307e\u3063\u3066\u3057\u307e\u3044\u30b9\u30c8\u30ec\u30b9\u3067\u3059\uff0e\u30ed\u30fc\u30ab\u30eb\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u51fa\u6765\u308b\u3082\u306e\u306f\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304b\u3089\u518d\u751f\u3059\u308b\u3053\u3068\u3067\u30b9\u30c8\u30ec\u30b9\u306a\u304f\u8996\u8074\u53ef\u80fd\u3067\u3059\u304c\u305d\u308c\u304c\u3067\u304d\u306a\u3044\u3082\u306e\u3084\u30e9\u30a4\u30d6\u3060\u3068\u3067\u304d\u307e\u305b\u3093\uff0e\n\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u306f\u5e2f\u57df\u3092\u7d5e\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u304c\u305d\u308c\u304c\u306a\u3044\u3082\u306e\u306f\u4e0d\u4fbf\uff0e\u4eca\u56de trickle \u3068\u3044\u3046\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u7279\u5b9a\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5e2f\u57df\u3092\u7d5e\u3063\u3066\u307f\u307e\u3057\u305f\uff0e\n\n\n\n\nmariusae/trickle: Trickle is a userland bandwidth shaper for Unix-like systems.\n\n\n\n\n\n\u4eca\u56deRaspberry Pi OS bookworm armhf\u74b0\u5883\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u304b\u3089\u5c0e\u5165\u3057\u307e\u3057\u305f\uff0e\n\n\n\n$ sudo apt install trickle\n$ trickle -h\nUsage: trickle [-hvVs] [-d <rate>] [-u <rate>] [-w <length>] [-t <seconds>]\n [-l <length>] [-n <path>] command ...\n -h Help (this)\n -v Increase verbosity level\n -V Print trickle version\n -s Run trickle in standalone mode independent of trickled\n -d <rate> Set maximum cumulative download rate to <rate> KB/s\n -u <rate> Set maximum cumulative upload rate to <rate> KB/s\n -w <length> Set window length to <length> KB\n -t <seconds> Set default smoothing time to <seconds> s\n -l <length> Set default smoothing length to <length> KB\n -n <path> Use trickled socket name <path>\n -L <ms> Set latency to <ms> milliseconds\n -P <path> Preload the specified .so instead of the default one\n\n\n\nwget\u306b\u306f\u5e2f\u57df\u3092\u7d5e\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059( --limit-rate )\u304c\u304a\u624b\u8efd\u306a\u306e\u3067\u307e\u305a\u306f\u3053\u308c\u3067\u8a66\u3057\u307e\u3059\uff0e\n\u3053\u3053\u3067\u306f -s \u3067\u30c7\u30fc\u30e2\u30f3\u3092\u4f7f\u308f\u305a\u30a2\u30c9\u30db\u30c3\u30af\u306b\u5229\u7528\u3057\u307e\u3059\uff0e\n-d 30 \u3068\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3092 30KB/s \u306b\u5236\u9650\u3057\u305f\u306e\u304c\u52b9\u3044\u3066\u3044\u308b\u3088\u3046\u3067\u305d\u308c\u306b\u8fd1\u3044\u901f\u5ea6\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0e\n\n\n\n$ trickle -s -d 30 wget https://mirrors.edge.kernel.org/qubes/iso/Qubes-R4.2.3-x86_64.iso -O /dev/null\n :\n/dev/null 0%[ ] 2.63M 31.3KB/s eta 2d 9h\n\n\n\n\u6b21\u306b\u5e2f\u57df\u5236\u9650\u304c\u306a\u3055\u305d\u3046\u306aRaspberryPi\u306eKernel\u3092\u65b0\u3057\u304f\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u8a66\u3057\u307e\u3059\uff0e\u306f\u3058\u3081sudo\u30b3\u30de\u30f3\u30c9\u306e\u524d\u306btrickle\u3092\u7f6e\u304f\u3068\u52b9\u304d\u307e\u305b\u3093\u3067\u3057\u305f\uff0esudo\u306e\u5f8c\u308d\u306btrickle\u3092\u7f6e\u304f\u3053\u3068\u3067\u5e2f\u57df\u5236\u9650\u3067\u304d\u307e\u3057\u305f\uff0e\u3067\u3082\u4eca\u56de\u306f\u63a5\u7d9a\u304c\u5207\u308c\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e\u7a0b\u3005\u306b\u3057\u306a\u3044\u3068\u99c4\u76ee\u307f\u305f\u3044\u3067\u3059\u306d\uff0e\u3082\u3057\u304f\u306fcontinue\u3084retry\u3092\u4f7f\u3046\u3088\u3046\u66f8\u304d\u63db\u3048\u308b\uff0e\n\n\n\n$ sudo trickle -s -d 30 rpi-update\n :\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n 15 144M 15 22.9M 0 0 28070 0 1:29:44 0:14:17 1:15:27 30009\ncurl: (56) Recv failure: Connection reset by peer\n\n\n\n\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3054\u3068\u306e\u5e2f\u57df\u5236\u9650\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u899a\u3048\u304d\u308c\u306a\u3044\u3057\u6bce\u56de\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8abf\u3079\u308b\u306e\u306f\u9762\u5012\uff0e\u3067\u3082trickle\u3060\u3051\u306a\u3089\u899a\u3048\u3089\u308c\u305d\u3046\u3067\u3059\uff0e\n\n\n\u74b0\u5883\n\n$ dpkg-query -W trickle wget curl\ncurl 8.5.0-2~bpo12+1\ntrickle 1.07-12\nwget 1.21.3-1+b1\n$ lsb_release -dr\nNo LSB modules are available.\nDescription: Raspbian GNU/Linux 12 (bookworm)\nRelease: 12\n$ arch\narmv7l\n$ grep ^Model /proc/cpuinfo\nModel : Raspberry Pi 3 Model B Rev 1.2", "date_published": "2024-11-05T05:50:02+09:00", "date_modified": "2024-11-05T05:50:05+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9?s=512&d=mm&r=g" }, "tags": [ "bandwidth", "trickle", "bookworm", "Linux", "Raspberry Pi OS" ] } ] }