Nhasi mazhinji emaapplication atinoshandisa kuisa kana kurodha pasi mafaera Mumambure, ivo kazhinji vanotipa isu nesarudzo iyo inotibvumidza isu kuseta miganho hupamhi hwakawanda hwetiweki yedu yavanogona kushandisa. Semuenzaniso, mumabhurawuza ewebhu ayo anonyanya kusanganisira avo maneja ekurodha pasi, izvi zvinotibvumidza kumisikidza kumhanya uko kurodha pasi kunogona kugadzirwa, uko kazhinji kazhinji kuri KB / s kana MB / s.
Mumwe muenzaniso wakajeka watinayo weiyi ndeye Steam, iyo inotibvumidza kuti tigadzirise kumhanyisa kumhanyisa kwemitambo, izvi kuitira kuti patinenge tiine mutambo wepamhepo, haukanganise nepo mamwe mazita ari kurodha pasi kumashure.
Pamhando iyi yemienzaniso yatinogona kupa yakawanda, Asi chii chinoitika kana iko kunyorera kana kunyangwe maitiro maitiro asinga tipe iyi sarudzo. Pano zvakakosha kuti uite ongororo diki mune yekushandisa mushandisi bhuku kana kuitira maitiro, zvinodikanwa kuti uzive kana zvichikwanisika kudzikisira kushandiswa kwebandwidth neimwe rairo kana kunyorera.
Kune iri dambudziko, TrafficToll inomuka, iyo inorondedzerwa seNetLimiter (Windows chete) yeLinux.
Nezve TrafficToll
Mune rondedzero yemugadziri, zvinotitaurira izvozvo Maitiro eTrafficToll ndeyekudzikisira kurodha pasi uye kurodha bandwidth pasirese pane interface uye nemaitiro esekunyangwe panguva yekuurawa kwemaitiro.
Inotaura zvakare kuti marongero anogona kugadziriswa zviri nyore uye mitsara mitsva inogona kuiswa chero nguva, kusiyana nemidziyo yakafanana iyo inogona chete kuisa yakatarwa yepasirese miganho kune iyo interface, mamwe madoko, kana inoda kuti iwe utange maitiro kuburikidza navo (uye nekudaro kutangidza tarisiro maitiro) kuti uchinje miganho).
Muchidimbu, chirongwa ichi chinorerutsa kuisirwa bandwidth miganhu mumamiriro ezvinhu emunhu mashandisirwo emuno, pamwe nemaitiro atove kushanda pachirongwa.
Semuenzaniso, unogona kudzikamisa bandwidth yechimwe chirongwa uye nekuwedzera icho kune imwe chirongwa kana maitiro pane system.
Maitiro aya, zvinoitwa nerubatsiro rwezvirongwa zvinotsanangurwa mune yakajeka zvinyorwa zvinyorwa faira. Mune iyo inopinda uye inobuda traffic inoganhurwa neiyo IFB (Intermediate Function Block) module, iyo yakatsiva iptables IMQ module.
Iyi faira inotsanangurwa zviri nyore, Tichitora muenzaniso wemugadziri tinogona kuona chimiro cheichi.
Iko kunokwana miganho yeiyo bandwidth yatinayo inosimbiswa, ndiko kuti, pane izvo kurodha pasi uye kurodha kumhanya isu tinobvumidzwa pamwe nemupi wedu.
Mushure meizvozvo, ese iwo maapplication nemaitiro anozodzorwa neTrafficToll anozosanganisirwa uye mairi tichagadza muganho we "yakazara" bandwidth iyo yaanogona kushandisa.
Uye pakupedzisira iwe unofanirwa kuisa iyo nzira yekushandisa kana maitiro ebhinari ayo anoshandiswa kuita zvakataurwa chirongwa kana maitiro.
# Global limits download: 500kbps upload: 100kbps # Matched process limits processes: Vivaldi: download: 100kbps match: - exe: /opt/vivaldi/vivaldi-bin Discord: download: 300kbps # This won't work, the specified upload exceeds the global upload, it will # be 100kb/s max upload: 200kbps match: - exe: /opt/discord/Discord
Sezvauchaona, iri faira rakapusa.
Maitiro ekuisa TrafficToll paLinux?
Kuisirwa kweTrafficToll mune chero kugoverwa kweLinux kuri nyore uye pamusoro pazvo hazvidi mamiriro emifananidzo zvakadaro sezvo iri CLI application, ndiko kuti. Iyo inomhanya kubva pamutsetse wekuraira uye haidi graphical interface yekushanda kwayo.
Zvekuisa, Izvo zvinongotibvunza isu sechinodiwa kuti tiiswe Python uye wako package package PIP, mune system.
Kubva kuiswa kwacho kunoitwa nerubatsiro rwePIP nekumhanya unotevera kuraira mune terminal:
sudo pip install traffictoll
Uye ndizvozvo, tinogona kushandisa chishandiso ichi. Kuitwa kweTrafficToll kunoitwa semudzi uye isu tinofanirwa kuratidza yedu network interface uye nzira yeiyo faira yekumisikidza yeiyo yambotsanangurwa faira.
# tt device config # tt eth0 archivo-configuracion.yaml
Kana iwe uchida kuziva zvakawanda nezvazvo, unogona kutarisa chinotevera chinongedzo.