Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Gtk-Gnutella (Linux/Unix/Mac OSX/Windows)
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) Gtk-Gnutella user section. Preview this popular software: Gtk-Gnutella (Linux / BSD / Darwin / Mac OS X / Windows)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old October 22nd, 2011
Novicius
 
Join Date: October 22nd, 2011
Posts: 3
Hans-Linux is a great assister to others; your light through the dark tunnel
Default 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
Reply With Quote
  #2 (permalink)  
Old October 22nd, 2011
Lord of the Rings's Avatar
ContraBanned
 
Join Date: June 30th, 2004
Location: Middle of the ocean apparently (middle earth)
Posts: 656
Lord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputation
Default

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.
Reply With Quote
  #3 (permalink)  
Old October 23rd, 2011
Novicius
 
Join Date: October 22nd, 2011
Posts: 3
Hans-Linux is a great assister to others; your light through the dark tunnel
Default

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
Reply With Quote
  #4 (permalink)  
Old October 23rd, 2011
Lord of the Rings's Avatar
ContraBanned
 
Join Date: June 30th, 2004
Location: Middle of the ocean apparently (middle earth)
Posts: 656
Lord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputation
Default

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.
Reply With Quote
  #5 (permalink)  
Old October 23rd, 2011
Novicius
 
Join Date: October 22nd, 2011
Posts: 3
Hans-Linux is a great assister to others; your light through the dark tunnel
Default

Quote:
Originally Posted by Lord of the Rings View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: https://www.gnutellaforums.com/gtk-gnutella-linux-unix-mac-osx-windows/99351-ultrapeer-mode-minimum-bandwidth-needed.html
Posted By For Type Date
GTK Gnutella - forum post review | BoardReader This thread Refback December 10th, 2011 11:25 AM


All times are GMT -7. The time now is 10:00 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.