Puas yog kev tsis ua haujlwm Nagle algorithm muaj kev nyab xeeb?
Puas yog kev tsis ua haujlwm Nagle algorithm muaj kev nyab xeeb?

Video: Puas yog kev tsis ua haujlwm Nagle algorithm muaj kev nyab xeeb?

Video: Puas yog kev tsis ua haujlwm Nagle algorithm muaj kev nyab xeeb?
Video: Finance with Python! Short Selling and Short Positions 2024, Hlis ntuj nqeg
Anonim

Yog disabling Nagle's algorithm hauv Windows rau kev txhim kho Internet ceev nyab xeeb ? Yog, nws yog kiag li nyab xeeb . Yog tias koj ua raws li txoj cai, koj ua tau lov tes taw thiab pab nws thaum twg koj xav tau.

Ua raws li qhov no, Kuv yuav ua li cas tua Nagle algorithm hauv Windows 10?

Rau lov tes taw Nagle's algorithm , qhib koj lub computer qhov chaw sau npe. Koj tuaj yeem pib koj Registry Editor, mus rau Start> hom regedit> Regedit. Koj tuaj yeem nyem rau ntawm cov ntawv qhia zaub mov kom koj tuaj yeem ncav cuag HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParametersInterface.

Ib yam li ntawd, Nagle algorithm tsim los hais txog dab tsi? Lub npe rau nws tus tsim, John Nagle , cov Nagle algorithm yog siv los cia li sib txuas ib tug xov tooj ntawm me me tsis xov; cov txheej txheem no (hu ua nagling) ua rau kom muaj txiaj ntsig ntawm kev siv network los ntawm kev txo cov pob ntawv uas yuav tsum tau xa.

Ua li no, kuv yuav ua li cas thiaj paub tias Nagle yog neeg xiam oob qhab?

1 Teb. Txoj hauv kev ncaj tshaj plaws yuav yog taug qab lub setsockopt system hu. Saib ntawm sab nraud koj tsuas pom tau thaum nws lov tes taw Nagle thiab coj tus cwj pwm phem (xa ntau qhov me me sai sai). Yog nws lov tes taw Nagle thiab coj zoo, koj tsis tuaj yeem pom los ntawm sab nraud.

TCP tsis ncua sijhawm ua dab tsi?

Cov TCP_NODELAY Kev xaiv qhov (socket) tso cai rau koj lub network los hla Nagle Kev ncua los ntawm kev kaw Nagle's algorithm, thiab xa cov ntaub ntawv sai li sai tau thaum nws muaj. Ua kom tau TCP_NODELAY yuam ib lub qhov (socket) xa cov ntaub ntawv hauv nws qhov tsis, txawm li cas los xij ntawm pob ntawv loj.

Pom zoo: