Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) (https://www.gnutellaforums.com/gtk-gnutella-linux-unix-mac-osx-windows/)
-   -   Ultrapeer Mode minimum bandwidth needed (https://www.gnutellaforums.com/gtk-gnutella-linux-unix-mac-osx-windows/99351-ultrapeer-mode-minimum-bandwidth-needed.html)

Hans-Linux October 22nd, 2011 09:12 AM

Ultrapeer Mode minimum bandwidth needed
 
I just installed Gtk-Gnutella on a Linux box that runs 24/7 with a fixed IP.

I would like to know the minimum available up and down bandwidth required to for Ultrapeer mode.

Hans

Lord of the Rings October 22nd, 2011 12:28 PM

I'm not the best to answer this, but ... if you are good at maths lol ...

From the GTK program Help menu -> FAQ:

What is a good number of connections?

In leaf mode 3 ultrapeers, in ultrapeer mode 32/40 (minimum/maximum) ultrapeers and around 100 leaf nodes. The actual number should depend on the available bandwidth. If you have set "Prefer compressed connections," bandwidth used will be much lower. You should never use up all your bandwidth with gnet connections. Especially on an asymmetric cable/DSL connection you can easily starve your incoming traffic by producing too much outgoing traffic (TCP/IP issue). Use at most half of your outgoing bandwidth for gnet connections.

Since the adoption of "high outdegree" in version 0.95 you should have 32/40 connections to other ultrapeers. The number of leaf connections to use depends on your bandwidth and the speed of your cpu. As an absolute minimum an ultrapeer should connect to 20 leaf nodes and it's much better to connect to 100 or more. Watch the bandwidth odometers on the lower left of the gui and use the top command to keep track of cpu usage. Increase the number of leaf connections until you reach the maximum amount of bandwidth and system resources you wish to devote to this purpose.

The bandwidth control settings will help you further fine-tune gtk-gnutella's bandwidth usage.


How does auto mode decide between ultra and leaf?

In order to be promoted to ultra mode the following conditions must be met:


• There must be more than 8192 bytes/s outgoing bandwidth available.
• If bandwidth schedulers are enabled, leaf nodes must not be configured to steal all the HTTP outgoing bandwidth.
• If Gnet out scheduler is enabled, there must be at least 256 bytes/s per gnet connection (ultrapeer or normal aka legacy).
• Overall, there must be 32 bytes/s per configured leaf plus 256 bytes/s per gnet connection available.

- Of course we can force UP mode if we wish. Else GTK weighs up amount of time online & available bandwidth.
My estimation is around 10-12 KB/s unless I missed something. Giving a little extra might be wise. I am not an experienced GTK user. ;)

Hans-Linux October 23rd, 2011 03:59 AM

If I allow for 50 connections, it will be:
256 Bytes * 50 nodes = 14,400 Byte plus 150 Leaves * 32 = 4,800 Bytes or a total of 19,200 Byte or 20 Kilo Bytes. Add to to this the bandwidth I want to have available for my own uploads and downloads.

Is this correct?

Hans

Lord of the Rings October 23rd, 2011 05:22 AM

For my logic, that sounds about right. (Looking at your initial question, I thought your desire was to ultrapeer whilst you were away from computer.)

For other over-heads, in general, large video files tend to cause the greatest overhead of upload/downloads. But I suspect they are mostly handled by the actual up & downloaders. Since there is constant messaging between the clients to request, to send, to receive, to tell it's received, verify the piece & request another piece, etc. There is no doubt other messaging I didn't mention. I'm not sure if all blocks of data are standardised the same size on the Gnutella network. But in general, audio files use smaller blocks of data & less difficulty of verifying, etc. ie: also less overhead in general. File-size plays a major part there.

Hans-Linux October 23rd, 2011 07:03 AM

Quote:

Originally Posted by Lord of the Rings (Post 365973)
For my logic, that sounds about right. (Looking at your initial question, I thought your desire was to ultrapeer whilst you were away from computer.)

For other over-heads, in general, large video files tend to cause the greatest overhead of upload/downloads. But I suspect they are mostly handled by the actual up & downloaders. Since there is constant messaging between the clients to request, to send, to receive, to tell it's received, verify the piece & request another piece, etc. There is no doubt other messaging I didn't mention. I'm not sure if all blocks of data are standardised the same size on the Gnutella network. But in general, audio files use smaller blocks of data & less difficulty of verifying, etc. ie: also less overhead in general. File-size plays a major part there.


My concern was not to block other users on the LAN connected through a DSL router with a upstream of 1 Megabit / sec. or about 80KBytes per second and about 1.0 MBytes down stream. There are 2 other users who constantly upload 15KBytes each with other p2p software. Plus a mail server, web browsers, Voip, DNS. This leaves me about 30 - 40 Kbytes for the Gnutella network.


All times are GMT -7. The time now is 02:45 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.