<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; VBS: Тюнинг сетевых настроек]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5000&amp;type=atom" />
	<updated>2011-05-06T09:58:27Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5000</id>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Тюнинг сетевых настроек]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=48185#p48185" />
			<content type="html"><![CDATA[<p>Сегодня выдавил из Realtek&#039;а думаю на максимум <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br /><span class="postimg"><img src="http://korosteleff.narod.ru/Network_usage.bmp" alt="http://korosteleff.narod.ru/Network_usage.bmp" /></span></p>]]></content>
			<author>
				<name><![CDATA[Евген]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25253</uri>
			</author>
			<updated>2011-05-06T09:58:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=48185#p48185</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Тюнинг сетевых настроек]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40018#p40018" />
			<content type="html"><![CDATA[<p>У меня встроенная Realtek без всякого шаманства выдавала 95% (или побольше, давно экспериментировал). Asus p4pe-x/te.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2010-10-06T17:52:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40018#p40018</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Тюнинг сетевых настроек]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40013#p40013" />
			<content type="html"><![CDATA[<p>Не спорю... <a href="http://support.microsoft.com/kb/316666">вот</a> объяснение этому, но предостерёгся от таких программ на всякий пожарный...<br />На сколько помню винда при стандартных условия с Realtek&#039;овской карточкой выдаёт от 80 до 82 процентов использования, у меня достигнут результат получше,<br />к Intel&#039;овским карточкам это не совсем подходит (хуже не будет), но у них драйвер использует (включает по ходу копирования) какие-то свои технологии, и достигаются те же самые 96% !!!<br />Intel&#039;ы молодцы, с этим не поспорить, но и та же самая 100 мегабитная сетевая карточка у них стоит <a href="http://www.nix.ru/autocatalog/intel/net/Intel_PILA8460M_100M_Desktop_Adapter_PCI_55230.html">в несколько раз дороже</a> !!! Для сравнения <a href="http://www.nix.ru/autocatalog/networking_acorp/ACORP_L100_RTL8139_Fast_PCI_7897.html">стоимость Realtek 8139</a><br />Но можно этого же результата достигнуть на 8139 после тюнинга этим скриптом...<br />Если есть попробовавшие - прошу отписаться...</p>]]></content>
			<author>
				<name><![CDATA[Евген]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25253</uri>
			</author>
			<updated>2010-10-06T14:36:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40013#p40013</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Тюнинг сетевых настроек]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=39989#p39989" />
			<content type="html"><![CDATA[<p>Я же говорю — не видел разницы.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2010-10-06T08:26:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=39989#p39989</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Тюнинг сетевых настроек]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=39980#p39980" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexii пишет:</cite><blockquote><p>Я никогда не видел разницы, что с включённым, что с отключённым, что с удалённым QoS: <a href="http://ru.wikipedia.org/wiki/QoS#.D0.9C.D0.B8.D1.84_.D0.BE_20.C2.A0.25_.D0.B2_Windows_XP">Миф о 20 % в Windows XP</a>.</p></blockquote></div><p>Через gpedit.msc нужно включить и выделить под него 0%</p>]]></content>
			<author>
				<name><![CDATA[Евген]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25253</uri>
			</author>
			<updated>2010-10-06T07:13:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=39980#p39980</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Тюнинг сетевых настроек]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=39957#p39957" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>протокол QoS включаю ограниченным в 0% и в результате карточка Realtek 8139 с такой же точно, при копировании файла в локале имеют 96% использования сети, ИМХО не плохо против 80%...</p></blockquote></div><p>Я никогда не видел разницы, что с включённым, что с отключённым, что с удалённым QoS: <a href="http://ru.wikipedia.org/wiki/QoS#.D0.9C.D0.B8.D1.84_.D0.BE_20.C2.A0.25_.D0.B2_Windows_XP">Миф о 20 % в Windows XP</a>.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2010-10-05T17:00:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=39957#p39957</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[VBS: Тюнинг сетевых настроек]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=39943#p39943" />
			<content type="html"><![CDATA[<p>Все ,наверное ,когда нибудь пытались заниматься тюнингом настроек винды с помощью твикеров и т.д.&nbsp; и т.п., я тоже был не исключение, пока несколько раз не погубил винду этими твикерами, после этого - я решил самостоятельно изучать параметры и придаваемые им значения. Целью тюнинга я выбрал сетевые настройки (без разницы хоть для локальной сети, хоть для интернета).<br />Для тюнинга настроек в Windows XP наработан пока что следующий скрипт, </p><div class="codebox"><pre><code>Set WshShell=CreateObject (&quot;WScript.Shell&quot;)
const HKEY_LOCAL_MACHINE = &amp;H80000002
strComputer = &quot;.&quot;
Set oReg=GetObject(&quot;winmgmts:{impersonationLevel=impersonate}!\\&quot; &amp; strComputer &amp; &quot;\root\default:StdRegProv&quot;)
 
strKeyPath = &quot;SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces&quot;
oReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys
 
&#039; очистка от мусора и старых значений в подветках интерфейсов

For Each subkey In arrSubKeys

On Error Resume Next
WshShell.RegDelete &quot;HKLM\&quot; &amp; strKeyPath &amp; &quot;\&quot; &amp; subkey &amp; &quot;\TcpAckFrequency&quot;
WshShell.RegDelete &quot;HKLM\&quot; &amp; strKeyPath &amp; &quot;\&quot; &amp; subkey &amp; &quot;\TcpDelAckTicks&quot;
WshShell.RegDelete &quot;HKLM\&quot; &amp; strKeyPath &amp; &quot;\&quot; &amp; subkey &amp; &quot;\MTU&quot;
WshShell.RegDelete &quot;HKLM\&quot; &amp; strKeyPath &amp; &quot;\&quot; &amp; subkey &amp; &quot;\KeepAliveInterval&quot;
WshShell.RegDelete &quot;HKLM\&quot; &amp; strKeyPath &amp; &quot;\&quot; &amp; subkey &amp; &quot;\KeepAliveTime&quot;
WshShell.RegDelete &quot;HKLM\&quot; &amp; strKeyPath &amp; &quot;\&quot; &amp; subkey &amp; &quot;\EnableDeadGWDetect&quot;
On Error Goto 0
Next

&#039; очистка от мусора и старых значений в глобале

On Error Resume Next
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DeadGWDetectDefault&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\KeepAliveInterval&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpDelAckTicks&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpAckFrequency&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\MTU&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\KeepAliveTime&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adaptive_ifs&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\GlobalMaxTcpWindowSize&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\SearchList&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpMaxDupAcks&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpWindowSize&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\SackOpts&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\AFD\Parameters\NonBlockingSendSpecialBuffering&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpMaxConnectResponseRetransmissions&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpMaxDataRetransmissions&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpMaxHalfOpen&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpMaxHalfOpenRetried&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpMaxPortsExhausted&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\SynAttackProtect&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\MaxHashTableSize&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\FFPControlFlags&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\NumTcbTablePartitions&quot;
WshShell.RegDelete &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TimedWaitDelay&quot;
On Error Goto 0

&#039; прописывание глобальных настроек

WshShell.RegWrite &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpTimedWaitDelay&quot;,30,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnablePMTUDiscovery&quot;,0,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnableDeadGWDetect&quot;,0,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnablePMTUBHDetect&quot;,0,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\SackOpts&quot;,1,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DisableTaskOffload&quot;,0,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DisableLargeSendOffload&quot;,0,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DisableDHCPMediaSense&quot;,1,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\SmbDeviceEnabled&quot;,0,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Tcp1323Opts&quot;,1,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort&quot;,65534,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DefaultTTL&quot;,128,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpNumConnections&quot;,16777214,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoRemoteRecursiveEvents&quot;,1,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoRemoteChangeNotify&quot;,1,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDetailsThumbnailOnNetwork&quot;,1,&quot;REG_DWORD&quot;
WshShell.RegWrite &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\NoNetCrawling&quot;,1,&quot;REG_DWORD&quot;

strKeyPath = &quot;SYSTEM\CurrentControlSet\Services&quot;
oReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys
 

&#039; прописка для Intel&#039;овских карточек адаптивной технологии

For Each subkey In arrSubKeys
If Left(ucase(subkey),5)=&quot;E100B&quot; Then
WshShell.RegWrite &quot;HKLM\&quot; &amp; strKeyPath &amp; &quot;\&quot; &amp; subkey &amp; &quot;\Parameters\Adaptive_ifs&quot;,1,&quot;REG_DWORD&quot;
End If
Next

&#039; прописка в подветках интерфейсов

strComputer = &quot;.&quot; 
Set objWMIService = GetObject(&quot;winmgmts:\\&quot; &amp; strComputer &amp; &quot;\root\CIMV2&quot;) 
Set colItems = objWMIService.ExecQuery(&quot;SELECT * FROM Win32_NetworkAdapterConfiguration where IPEnabled=True&quot;) 
For Each objItem in colItems 
    If Not isNull(objItem.IPAddress) Then
    WshShell.RegWrite &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\&quot; &amp; objItem.SettingID &amp; &quot;\TcpAckFrequency&quot;,1,&quot;REG_DWORD&quot;
    WshShell.RegWrite &quot;HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\&quot; &amp; objItem.SettingID &amp; &quot;\MTU&quot;,576,&quot;REG_DWORD&quot;
    End If
Next</code></pre></div><p>После отработки скрипта обязательно перезагруз !<br />Дополнительно к скрипту протокол QoS включаю ограниченным в 0% и в результате карточка Realtek 8139 с такой же точно, при копировании файла в локале имеют 96% использования сети, ИМХО не плохо против 80%...<br />Кто дружит с сетевым тюнингом - прошу откликнитесь...</p>]]></content>
			<author>
				<name><![CDATA[Евген]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25253</uri>
			</author>
			<updated>2010-10-05T15:55:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=39943#p39943</id>
		</entry>
</feed>
