Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General Gnutella Development Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Search Today's Posts Mark Forums Read

General Gnutella Development Discussion For general discussion about Gnutella development.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 16th, 2001
Unregistered
Guest
 
Posts: n/a
Post protocol extension proposal

i know this one would be better of to the gdf but i dont bother to register with yahoo.

its also possible that something like this is already considered but the gdf is keeping their stuff closed so...

anyway, the current situation is that 80% of the traffic is queries. some gnutella clients can show the current bandwidth usage in kb. per node this is around 0.7kb/sec - 1.5kb/sec.

this number is misleading.

please take a look at
http://www.faqs.org/rfc/rfc791.txt
and
http://www.faqs.org/rfc/rfc793.txt

for a search request that has a 18 byte header and a 10byte search string you get around 40 bytes of overhead and thats not taking the lower level protocols into acount (PPP, TCP ACK`s..)

so i propose a new packet type that wraps several smaller query packets into one big packet.
packet example:

16 byte guid
1 byte function: some yet unused function
1 byte ttl: 0
1 byte hops: 0
4 byte payload: sum of sub packets size.

and then all the small query packets.

a modem user could handle a lot more queries when they are packed like this.
Reply With Quote
  #2 (permalink)  
Old September 16th, 2001
Unregistered
Guest
 
Posts: n/a
Default

Nagle's algorithm:
http://www.faqs.org/rfc/rfc896.txt
I think everyone uses this.
Reply With Quote
  #3 (permalink)  
Old September 16th, 2001
Unregistered
Guest
 
Posts: n/a
Default

i wont comment on your trust into the windows socket implementation

and the rfc you mentioned doesnt take multiple connections into account.
im getting around 6-10 packets/sec per node. lets just assume these are optimaly grouped into 4 packets and sent, it still would make more sense to send them once per second.

my basic idea was abstraction anyway so a host dont have to rely on the network stack.
Reply With Quote
  #4 (permalink)  
Old September 16th, 2001
SRL SRL is offline
Gnutella Veteran
 
Join Date: March 23rd, 2001
Posts: 144
SRL is flying high
Default

A peer can already do this. All it takes is to buffer up several packets before doing a write to the socket (as was pointed out Nagle will do this already to a certain extent too). Output buffering is generally a good practice - it's also simpler and doesn't require changes to the protocol.

In general it's a bad idea for the application level protocol to make any assumptions about the lower level network protocol. There's no telling what the smallest MTU may be between you and another peer - packets may be fragmented, recombined or compressed at any point along the journey. Because of fragmentation, you might actually cause more packets to be sent.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[0.7 proposal] Count search replies arne_bab General Gnutella Development Discussion 5 November 8th, 2002 09:04 AM
Gnutella Protocoll v0.7 Proposal Moak General Gnutella Development Discussion 41 August 17th, 2002 10:55 AM
Proposal for development of Gnutella (hashs) Unregistered General Gnutella Development Discussion 61 April 17th, 2002 08:35 AM
My Proposal for XoloX!!! Unregistered User Experience 1 February 6th, 2002 08:11 AM
---a Radical Proposal--- Unregistered General Gnutella / Gnutella Network Discussion 0 September 21st, 2001 12:08 PM


All times are GMT -7. The time now is 08:18 PM.


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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.