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 Today's Posts

General Gnutella Development Discussion For general discussion about Gnutella development.


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old November 16th, 2002
Distinguished Member
 
Join Date: September 21st, 2002
Location: Aachen
Posts: 733
trap_jaw is flying high
Default

If a client really implements http1.1 it does not give your download slot to another downloader until you close the connection, which is not the case between requesting different chunks.

If you Acquisition users think it's not good, - why not tell the guy who put it online to change it? It's really a trivial task. The chunk size is a constant in the ManagedDownloader class.
Reply With Quote
  #12 (permalink)  
Old November 16th, 2002
Apprentice
 
Join Date: November 13th, 2002
Posts: 7
Thad is flying high
Default

Quote:
Originally posted by trap_jaw
If you Acquisition users think it's not good, - why not tell the guy who put it online to change it?
We did and he did.
Reply With Quote
  #13 (permalink)  
Old November 30th, 2002
Enthusiast
 
Join Date: March 23rd, 2002
Location: Finland
Posts: 38
Kaapeli is flying high
Default

The idea with chunks is simply swarming downloads. When you divide the file in chunks, you can request the different chunks from different hosts and download the file simultaneously from different sources. That will speed up the transferring proccess. Dividing in chunks itslef will not help at all, it will actually decrease the downloading efficient rate. But when there are multiple sources available and the chunk size is reasonable, it will significantly increase the download transfer rates for broad band users. But without Keep-Alive and HTTP-pipelinig small chunks may have huge negative affect to the transfer rates.

Last edited by Kaapeli; November 30th, 2002 at 02:34 PM.
Reply With Quote
  #14 (permalink)  
Old November 30th, 2002
Apprentice
 
Join Date: November 13th, 2002
Posts: 7
Thad is flying high
Default

That was essentially my point -- dividing the file into chunks might work well under ideal circumstances, i.e., when downloading files that are hosted by large numbers of hosts, all of whom support the feature. Unfortunately, that simply doesn't reflect the reality of the Gnutella network as it stands today. The overwhelming majority of the files I might actually want to download are available from only one host at any given time (at best).
Reply With Quote
  #15 (permalink)  
Old December 1st, 2002
Enthusiast
 
Join Date: March 23rd, 2002
Location: Finland
Posts: 38
Kaapeli is flying high
Default

Downloading in chunks will not hurt performance significantly as long as the chunk size is reasonable and both-ends support Keep-Alive and HTTP pipelining.

Even if the other-end does not support Keep-Alive nor HTTP pipelining, download performance shouldn't hurt much as long as the downloader is using reasonable chunk sizes. If a client doesn't have support for at least Keep-Alive, it definitely should not download files in chunks. This is especially important when downloading files from firewalled hosts, establishing the connection through PUSH have relatively low success rate, so it is important to not disconnect from the host.

I wouldn't call a fixed 97.7k chunk size reasonable. It results way too many re-requests when downloading large files. Also, if the client doesn't support Keep-Alive (you said it loses the connection after downloading a chunk), it will definitely result very poor download performance, even if there are a lot of reliable sources available.

Keep-Alive is essential feature when downloading files in chunks, HTTP pipelining is highly recommended.

Last edited by Kaapeli; December 1st, 2002 at 01:03 PM.
Reply With Quote
  #16 (permalink)  
Old December 19th, 2002
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Phex uses a different way of chunking. You can manually force chunking with the option to manual entered chunk size causing to chunk the file, or a relative size where you specify how many chunks you like.
Phex also support a efficient automatic merge of two chunks in case the next chunk has not started a download yet and the other host is not supporting KeepAlive. This way no disconnection is needed.
If you dont force manual chunking Phex will chunk the file for you by itself in the moment a new host connection is ready to upload the file to you.
Of course the new Phex 0.8 release is also able to download from partial sources or get into a download queue to wait until the other host provides the file to you.

Gregor
__________________
Reply With Quote
  #17 (permalink)  
Old February 5th, 2003
BearShare Developer
 
Join Date: May 25th, 2001
Posts: 163
Vinnie is flying high
Default

Quote:
Originally posted by Kaapeli
without Keep-Alive and HTTP-pipelinig small chunks may have huge negative affect to the transfer rates.
Correct. It makes no sense to swarm with small chunks without Keep-Alive support.

BearShare divides a file into chunks equal to 2.5% of the file size.

Using this method, along with the necessary Keep-Alive support, makes it EASY to add additional sources to the download (they just request different same-sized chunks).

You also don't have to make any funky estimates of the speed of the remote host in order to figure out how much to ask for (like LimeWire's original swarming implementation).

I believe LimeWire has switched to the fixed-chunk size scheme I described above.

Note "fixed chunk scheme" means that all chunks are equally sized (in BearShare's case, 2.5% of the file size).

"Variable chunk scheme" means that for a single file, the size of chunks requested from different hosts might be different.
Reply With Quote
  #18 (permalink)  
Old October 19th, 2003
Devotee
 
Join Date: September 30th, 2003
Posts: 27
rockkeys is flying high
Default I agree, this is a very harmful change...

At least when downloading a large file from only one or two sources. I think the developers forget that a file that returns 200 sources really means that maybe 3 sources exist that can be connected to. The others are busy, long gone (but their data persists), or have such large queues that it would take days to get an active slot.

Too many times have I seen (queued: slot 97 of 100)-type messages. If I leave a query running during the download, I may eventually turn up 200 or 300 sources, but gnutella says that only 22 or them are alive, and all of them are busy, and we'll retry them later (and get another busy, and so on).

The congestion on the Gnet is abysmal, and is getting rapidly worse. It looks like way too many people are downloading, but not sharing what they download, or what they have of their own content.

Yet as far as I know, not a single software developer group has made any effort to give guidelines of how many upload vs download slots should be active, and what the real consequences will be if these guidelines are ignored. In fact, it's pretty clear that the people who write the software have not tried to really use it the way the typical user does, or they'd realize that mostly, Gnet doesn't work for large files. It probably works OK for the popular MP3 junk out there, but for multi-hundred MB files, too many things prevent the user from ever getting a good download.

I'm not pointing at any specific client, as it's the network/users themselves that are causing the problems. Too many must be greedy of bandwidth, and just won't share.

So along comes joe_user, and he wants the entire contents of some current music disk, so he searches for the files, selects them all for download, then goes back to browsing. He notices that the thruput is terrible with all this sharing going on, so he turns off his uploads.

Multiply this times about 50% of the users, and you can see why people are irritated. Yet there has been a distinct lack of noise from the powers that be in Gnutella development about this, or what to do to fix it, other than quiet messages that say 'don't forget to share' in their posts.

We really need every single gnet client group to post a strong recommendation of the upload/download ratios, and an explenation of what will happen if those guidelines are ignored. The average user has no idea of what affect his settings will have on the network, and generally doesn't care, or even think about it much. Because no one ever bothered to tell them it matters, and matters alot.

With our current situation, and the clients that do disconnect after 97K transfers, we can't get files anymore. I've gone back to IRC to get my anime files, because I can download an entire 200MB video clip in about 45 minutes, and it's a direct connection to a fast server. I have never (hear me, guys? NEVER) been able to download a complete anime video on Gnet. Fasttrack works, but is also getting much slower, just like Gnet. However, I think Gnet has more users, and is suffering more from the situation because of this.

Seriously, I've found numerous posts to the gnutella forums, asking for guidelines in setting up the connection ratios, and not one single person got a direct and satisfactory answer. It's pretty clear to the users that no one cares enought to answer these questions, so they set them to the defaults, or tweak them as they please.

To fix this mess, we really need more open slots than requests, or it will never dig it's way out. And unless the authoritative people address the situation in a clear and understandable way, Gnet will deteriorate into an unusable mess, with the exception of the 2-4mb MP3 file with 10,000 active sources. Do we want gnet to become this? I sure don't, but it's headed that way very quickly. And everyone (except the MP3 users who don't really see the problem) pretends that nothing is wrong, and it's the individual user's setup, or their poor connection to the net, or something else that is wrong.

We need to stop ignoring the problem, and do something about it. I leave my system on for hours to make my files available, but I think I am the exception. I have more than one computer, and can easily leave a system up to share anime. It's even legal content, unless the episodes have been released for US television, which luckily is almost none of them. But a lot of people want them, as my systems are always completely filled up with requests, and my queue can get pretty deep too.

If the 'industry' won't get together and take some action about this, the net will become more and more unusable for the average user. God help the poor fellow with a 56K modem. Unless he finds a source like my system, he's hosed if he wants anything other than a tiny file.

We can't do anything about people not sharing, or turning their systems off when they are finished downloading their own data. But we need to advise the people who are trying to make the net 'work' that they need to offer more upload slots than they download at any one time, or they will never see reasonable thruput and reasonable source counts that are active.

The situation is so bad, that I'd guess that we need three or four times the number of uploads to downloads, in order to offset the people who just won't share. If people throttle their upload bandwidth, fine, but make the slots available. If enough do that, they will get fine aggregate thruputs, and no one will suffer as a result. It would be a lot better if they all offered a large number of slots, and as much thruput as they can afford to give. But getting the message out, so that the current trend which is killing the network can start to turn around, is the responsibility of the 'industry' leaders. And they have ducked the issue for too long now.

Sorry for the soapbox, but the irritation is rising to a level where I had to say something. It's clear others feel the same way. Will someone step up and make the effort to address this, or will we continue to ignore the problems?

If I had the equipment to measure the status of the net, I'd publish the results everywhere I could in order to get someone to address this. I'm sure some of the development groups do have the equipment and knowledge to do that, but they are too busy to bother with what's really happening on our network. I think they have their priorities wrong. And I think that within another year, Gnet will be useless if this trend continues. There needs to be an over-adjustment in the opposite direction, or we will never overcome the problems caused by the careless or ignorant user.

--Rockkeys
Reply With Quote
  #19 (permalink)  
Old October 19th, 2003
Gnutella Muse
 
Join Date: December 19th, 2001
Posts: 173
sdsalsero is flying high
Default

uh, Thanks for reviving this long-dead thread?

BTW, my experience has been that I see enough 'weird' stuff from the people downloading from me that I believe the RIAA/MPAA/whomever is sabotaging the Gnet. Don't ask for my examples, please.

Anyway, the problems you cite re non-existent sources etc are -- I believe -- being intentionally created by those same organizations. Or, maybe it's just incompetence that causes people to run Ultrapeers that never delete old listings?
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
size < > skullhill Open Discussion topics 0 March 23rd, 2006 06:40 AM
what do i type in size box to control size? withdjkim Open Discussion topics 0 March 28th, 2005 04:11 PM
[COLOR=orangered][SIZE=3]can not stay connected[/SIZE] [/COLOR] ravinman64 Download/Upload Problems 0 December 29th, 2003 10:22 PM
Small chunk uploads? BaalDemon Download/Upload Problems 13 March 29th, 2003 07:00 PM
97k chunk mjin Download/Upload Problems 2 March 11th, 2003 12:40 AM


All times are GMT -7. The time now is 02:22 AM.


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.