Vista το παράθυρο TCP που ξελεπιάζει τον αυτόματο συντονισμό μπορεί να επιβραδύνει την απόδοση δικτύων
Το TCP λαμβάνει το μέγεθος παραθύρων (RWIN) είναι το ποσό λαμβανόμενων στοιχείων (στις ψηφιολέξεις) που μπορούν να αποθηκευθούν κατά τη διάρκεια μιας σύνδεσης. Σύμφωνα με Wikipedia, ο στέλνοντας οικοδεσπότης μπορεί να στείλει μόνο μέχρι εκείνο το ποσό στοιχείων προτού να πρέπει να περιμένει μια αναπροσαρμογή αναγνώρισης και παραθύρων από το λαμβάνοντα οικοδεσπότη. Όταν ένας δέκτης διαφημίζει το μέγεθος παραθύρων 0, ο αποστολέας σταματά τα στοιχεία και αρχίζει εμμένει χρονόμετρο. Εμμείνετε χρονόμετρο χρησιμοποιείται για να προστατεύσει το TCP από τη νεκρή κατάσταση κλειδαριών. Η νεκρή κατάσταση κλειδαριών θα μπορούσε να είναι πότε η νέα αναπροσαρμογή μεγέθους παραθύρων από το δέκτη χάνεται και ο δέκτης δεν έχει άλλα στοιχεία που στέλνουν ενώ ο αποστολέας περιμένει τη νέα αναπροσαρμογή μεγέθους παραθύρων. Όταν εμμείνετε το χρονόμετρο λήγει ο αποστολέας TCP στέλνει ένα μικρό πακέτο έτσι ώστε οι δέκτες ACKs που το πακέτο με το νέα μέγεθος παραθύρων και το TCP μπορεί να ανακτήσει από τέτοιες καταστάσεις.
Ο τομέας μεγέθους παραθύρων TCP ελέγχει τη ροή των στοιχείων και περιορίζεται μεταξύ 2 και 65.535 ψηφιολέξεων, και δεν μπορεί να επεκταθεί άλλο. Κατά συνέπεια, ένας παράγοντας ξελεπιάσματος χρησιμοποιείται για να πάρει ένα μεγαλύτερο TCP λαμβάνει το μέγεθος παραθύρων για να επιτύχει την αποδοτικότερη χρήση των υψηλών δικτύων εύρους ζώνης. Επιλογή κλίμακας παραθύρων TCP χρησιμοποιείται για να αυξήσει το μέγιστο μέγεθος παραθύρων από 65.535 ψηφιολέξεις 1 Gigabyte. Το ξελέπιασμα μέχρι τα μεγαλύτερα μεγέθη παραθύρων συμφόρησης TCP είναι ένα μέρος αυτό που είναι απαραίτητο για το συντονισμό TCP. Η επιλογή κλίμακας παραθύρων χρησιμοποιείται μόνο κατά τη διάρκεια της χειραψίας τρόπων TCP 3. Η αξία κλίμακας παραθύρων αντιπροσωπεύει τον αριθμό αριστερός-μετατόπισης κομματιών ο δεκαεξάμπιτος τομέας μεγέθους παραθύρων, και μπορεί να τεθεί από 0 (καμία μετατόπιση) σε 14.
Κατά εξέταση της αργής απόδοσης δικτύων Vista, την πρόβλημα μπορεί να οφείλεται στην προαναφερθείσα επιλογή ξελεπιάσματος παραθύρων TCP, όπου πολλοί παλαιότεροι δρομολογητές και και οι αντιπυρικές ζώνες πακέτων δεν εφαρμόζουν κατάλληλα το ξελέπιασμα παραθύρων TCP, και ξαναγράφουν τον παράγοντα ξελεπιάσματος παραθύρων κατά τη διάρκεια μιας μετάδοσης, και να αναγκάσουν την αποστολή και λήψη των πλευρών για να υποθέσουν τα διαφορετικά μεγέθη παραθύρων TCP. Η κατάσταση προκαλεί τη σύνδεση με το Διαδίκτυο δυσλειτουργίας, την μη-σταθερή κυκλοφορία που είναι πολύ αργή, ή τη σύνδεση δικτύων που είναι μόνο διαθέσιμες περιοδικά. Vista, η σύνδεση μπορεί να εμφανιστεί να αρχίζει πάλι για κανέναν λόγο μετά από μια στιγμή. Εάν «εντοπίστε το πρόβλημα» επιλέγεται Vista, ένα μήνυμα λάθους θα επιδείξει «δεν μπορεί να επικοινωνήσει με τον αρχικό DNS κεντρικό υπολογιστή.»
Beside, Windows Vista enhances further TCP window scaling with auto tuning feature, where TCP stack in Vista system will auto tune and adjust the RWIN size to increase the percentage of full-sized TCP segments that are used during bulk data transmission based on the network scenario it encountered. And thus it’s no longer possible to specify a custom size for the TCP/IP Receive Window (RWIN) size with the inclusion of new auto tuning feature, unless the application it self uses SO_RCVBUF. However, Vista TCP auto tuning feature may get things wrong sometimes. Instead of optimal true receive window size, incompatible and out of range RWIN size may be used.
By default, Vista in normal auto tuning level will use RWIN size of 256 bytes with a scale factor of 8. This value is not suitable for all routers and servers which does not support TCP scale factor, and continue to communicate with 65536 bytes. For Windows Vista, users can change the behavior and the way Vista automatically tune the RWIN, by using “netsh” command to set the value for “autotuninglevel” parameter.
To change the value for Receive Window Auto-Tuning Level parameter in Vista, run elevated command prompt, and then type in one of the following commands, depending on your preference how you want Vista to use the RWIN size.
netsh interface tcp set global autotuninglevel=disabled
Disable the autotunning feature in Vista completely, and fit and lock the RWIN receive window to default value 65536 bytes.
netsh interface tcp set global autotuninglevel=highlyrestricted
Allow for the receive window to grow beyond the default value, but do so very conservatively. In this mode, Vista will by default use RWIN of 16,384 bytes with a scale factor of 2.
netsh interface tcp set global autotuninglevel=restricted
Allow for the receive window to grow beyond the default value, but limit such growth in some scenarios.
netsh interface tcp set global autotuninglevel=normal
Allow for the receive window to grow to accommodate almost all scenarios. The default setting in Vista. Specifying this command mean you want to turn back on AutoTuning feature.
netsh interface tcp set global autotuninglevel=experimental
Allow for the receive window to grow to accommodate extreme scenarios. Note The experimental value can decrease performance in common scenarios. This value should be used only for research purposes.
Users should try out the various possible configurations for the Vista TCP RWIN Auto Tuning Level in order to get the best value that improve network performance and increase download speed.
IMPORTANT: You're reading a machine translated page which is provided "as is" without warranty. Unlike human translation, machine translation does not understand the grammar, semantics, syntax, idioms of natural language, thus often produce inaccurate and low quality text which is misleading and incomprehensible. Thus, please refer to original English article whenever possible.
MDL blog postings now continue at Tip and Trick, and readers are welcome to join My Digital Life Forums.
Related Articles
- Outlook 2007 Slow While Downloading POP3 Email
- Increase Multithread Download Speed by Disable Vista Auto Tuning on TCP/IP
- Disable TCP Auto-Tuning to Solve Slow Network, Cannot Load Web Page or Download Email Problems in Vista
- Optimize and Increase BitTorrent (BT) Download Speed in Vista
- Vista Remote Desktop Connection Client Slow Delay or Disconnect When Connect to Windows Server 2003 SP2 x64 Edition RDP
- Workaround for Slow Large File Copying and Transfering To and From Vista PC
- Slow File and Folder Copy, Move, Transfer or Delete Operation Speed Problem in Vista Fix
- Cannot Display the Webpage and Host/Server Not Found or Available Error - EnablePMTUDiscovery MTU Fix
- Windows Vista tcpip.sys Connection Limit Patch for Event ID 4226
- TCP/IP Has Reached the Security Limit Imposed on the Number of Concurrent TCP Connect Attempts Error on Windows Vista

































May 5th, 2008 15:47
[...] can read the seriously techie stuff here of what it does and how Scaling Factors works etc. etc. [...]