Mokhoa oa ho nolofalletsa TCP BBR ho Debian 11 Bullseye

Ka lilemo tse ngata, li-algorithms tsa mantlha tsa taolo ea tšubuhlellano tse sebelisoang marang-rang e ne e le Reno le CUBIC. Bobeli ba bona ba ne ba e-na le matla le bofokoli ba bona, empa ba ile ba arolelana taba e le 'ngoe e kholo: ba ne ba sa sebetse haholo ho sebetsana le mathata a marang-rang. Sena se ile sa etsa hore ho be le li-bandwidth tse ngata tse senyehileng le latency e phahameng, e leng bothata bo boholo ho Google le lik'hamphani tse ling tse itšetlehileng ka marang-rang bakeng sa ts'ebetso ea tsona. Leha ho le joalo, Google e se e fumane mokhoa oa ho hlola litaba tsena ka algorithm e ncha ea TCP Bottleneck Bandwidth le RRT (BBR).

Algorithm ena e ntlafalitsoeng ea taolo ea tšubuhlellano e fihlela ntlafatso e kholo ea bandwidth, e theola latency, 'me e sebelisoa ke Google.com, Google Cloud Platform, Youtube, le tse ling. Ka lebaka la BBR, re ka qetella re salisane hantle le mathata a khale a botlolo ea marang-rang a 'nileng a re tšoenya ka nako e telele.

Thutong e latelang, u tla ithuta ho nolofalletsa TCP BBR ho Debian 11 Bullseye u sebelisa "terminal line" e nang le litlhophiso le li-screenshots tse ling.

Ntlafatsa Debian

Pele o tsoela pele, ntlafatsa liphutheloana tsa hau tsa sistimi ho netefatsa hore ha ho likhohlano tse etsahalang.

sudo apt update && sudo apt upgrade -y

Sheba Litaolo tse Teng Tsa Tšitiso

Ntlha ea pele, pele u qala, ho eletsoa haholo hore u hlahlobe hore na ke litsamaiso life tse teng tsa TCP tse teng. Hangata, Linux e sebetsa Reno 'me k'habone lits'ebetso.

Etsa taelo e latelang ho terminal ea hau ho fumana hore na ho sebelisoa eng ka ho sa feleng. BBR ha ea lokela ho hlahisoa kaha ha o so e kenye kapa ho e nolofalletsa ntle le haeba o kile oa etsa joalo.

sudo sysctl net.ipv4.tcp_congestion_control

Mohlala oa tlhahiso:

Mokhoa oa ho nolofalletsa TCP BBR ho Debian 11 Bullseye

Joalo ka ha tlhahiso e kaholimo e bolela, cubic e sebelisoa sistimi ea hau, empa tlhahiso ea hau e ka bonts'a liphetho tse fapaneng.

Ka mor'a moo, ke li-algorithms life tsa taolo ea TCP tse fumanehang ka tsela e latelang.

sudo sysctl net.ipv4.tcp_available_congestion_control

Mohlala oa tlhahiso:

Mokhoa oa ho nolofalletsa TCP BBR ho Debian 11 Bullseye

Ho tsoa ho tlhahiso, reno le cubic lia fumaneha, 'me hang ha BBR e kentsoe/e nolofalitsoe, sena se lokela ho hlahisa BBR.

Numella TCP BBR Taolo ea Tšitiso

Kaha joale u hlahlobile lintlha tsa motheo ho netefatsa li-algorithms tse fumanehang, bula ea hau sysctl.conf faele.

sudo nano /etc/sysctl.conf

Ka mor'a moo, kopitsa le ho beha tse latelang.

net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr

mohlala:

Mokhoa oa ho nolofalletsa TCP BBR ho Debian 11 Bullseye

Boloka ea sysctl.conf liphetoho tse sebelisoang CTRL + O, ebe oa tsoa CTRL + X.

Kenya faele ea tlhophiso hape u sebelisa taelo e latelang.

sudo sysctl -p

Mohlala oa tlhahiso:

Mokhoa oa ho nolofalletsa TCP BBR ho Debian 11 Bullseye

Netefatsa hore BBR e nolofalitsoe ebile e sebetsa joalo ka taolo e ncha ea TCP ka ho sebelisa taelo e latelang hape.

sudo sysctl net.ipv4.tcp_congestion_control

Mohlala oa tlhahiso:

Mokhoa oa ho nolofalletsa TCP BBR ho Debian 11 Bullseye

Ntle le moo, sebelisa lsmod | taelo ea grep BBR ho netefatsa ka tsela e latelang.

lsmod | grep bbr

Mohlala oa tlhahiso:

Mokhoa oa ho nolofalletsa TCP BBR ho Debian 11 Bullseye

Qetellong, netefatsa hape li-control tse fumanehang tsa TCP tse fumanehang u sebelisa taelo e latelang.

sudo sysctl net.ipv4.tcp_available_congestion_control

Mohlala oa tlhahiso:

Mokhoa oa ho nolofalletsa TCP BBR ho Debian 11 Bullseye

Kea u lebohela, u nolofalitse TCP BBR.

Maikutlo le Qetello

See se tla ba le litlamorao life bokamosong ba litsamaiso tsa taolo ea tšubuhlellano? Na Reno le CUBIC li tla felloa ke nako haufinyane? Ke nako feela e tla bolela. Ho sa le joalo, ho bohlokoa ho lula u le morao-rao ka liphetoho tsa morao-rao tsa algorithm ea TCP ea Google e le hore u ka netefatsa hore sebaka sa hau sa marang-rang se sebetsa hantle ka ho fetisisa.



Latela LinuxCapable.com!

Na u rata ho fumana liapdeite? Re latele ho e 'ngoe ea li-account tsa rona tsa litaba tsa sechaba!