rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: WarBirD on December 04, 2006, 02:57:07 PM

Title: Speed problem
Post by: WarBirD on December 04, 2006, 02:57:07 PM
Hi, i installed HFS just a few days ago. Today I had time to test it with a friend, over HAMACHI. When we try FTP over HAMACHI, i can offer my full upload, which is around 90 KB/sec. but when we tried it with HFS, my friend only got like 10 KB/sec. and even less. I did not use any Speed Limit and I didn´t had anything using my bandwidth while we tried it. So why do I only have that less speed to offer, which is not a problem with my connection.

I would appreciate help in this.

WarBirD
Title: Re: Speed problem
Post by: rejetto on December 04, 2006, 05:36:00 PM
i never used hamachi, and know little of it, but i have a theory.
FTP when is about to transfer a file, start a new connection. I think you are bypassing hamachi when transfering over FTP, and that's why you get your full speed.
This same technique is not possible over HTTP.
Title: Re: Speed problem
Post by: WarBirD on December 04, 2006, 05:39:51 PM
Well, what HFS does is behave like a small Webserver, so it actually doesn´t matter how I do transfer a file. Even if I do a regular Webserver on my PC, when someone wants to download something, he gets my full upload speed for his filetransfer to download. And since HFS also creates a little Webserver, where is the difference. And no, I don´t think its bypassing.
Title: Re: Speed problem
Post by: rejetto on December 04, 2006, 05:42:19 PM
if you tested with another webserver on your PC, then you are right, HFS should go fast as well.
maybe you enabled the speed limiter.
try going to (expert mode) menu -> other options -> show customized options
and post here the content



anyway, it is quite strange, i always heard of hamachi being slow, few KB/s, and you tell it is fast.
Title: Re: Speed problem
Post by: WarBirD on December 04, 2006, 05:51:59 PM
Here is the info you asked for:

Quote
window-max=yes
default: no

easy=no
default: yes

last-update-check=39055,6542225463
default: 0

last-file-open=C:\Dokumente und Einstellungen\warbird\Eigene Dateien\hfs_save_011206.vfs
default:

recents=C:\Dokumente und Einstellungen\warbird\Eigene Dateien\hfs_save_011206.vfs
default:

connections-columns=IP;120|Filename;180|Status;180|Speed;60|Time left;55|%;686|
default: IP;120|Filename;180|Status;180|Speed;60|Time left;55|%;50|


I didn´t set any SPEED LIMIT in the options, I let this empty.
Title: Re: Speed problem
Post by: rejetto on December 05, 2006, 01:49:29 AM
right... but i have no idea!
do you get 100% CPU while HFS is sending?
Title: Re: Speed problem
Post by: maverick on December 05, 2006, 04:15:15 AM
do you get 100% CPU while HFS is sending?

I did a local upload test.  Everything that uses bandwidth was closed except for Opera to initiate the upload.  No HFs speed limit set.  No software firewall, anti-virus, spyware checker etc. running in the background. 

I uploaded the same 52.23 mb file 4 times.  Here are the results.

1. average 2728 KB/s - 100% CPU while HFS sending
2. average 1690 KB/s - 100% CPU    "      "       "
3. average 1760 KB/s - 100% CPU    "      "       "
4. average 1647 KB/s - 100% CPU    "      "       "

Don't know why the upload speed decreased so much after the 1st test.  Don't know if these test results will help but here they are anyway.
Title: Re: Speed problem
Post by: rejetto on December 05, 2006, 04:19:06 AM
uploading and downloading locally with no limit always take 100% CPU.
i think the speed variation on your test doesn't depend on HFS.
Title: Re: Speed problem
Post by: TSG on December 05, 2006, 05:46:55 AM
I have a 128k upload speed, this should equate to 16kb\s? am i right? but i find that when people download from me, the maximum i get going is 12.8kb\s, is this normal for HFS? cause at these speeds 3.2kb\s is a lot of bandwidth ROFL!
Title: Re: Speed problem
Post by: rejetto on December 05, 2006, 05:55:50 AM
yes, 16kb/s.
the way to know if the lower speed is related to HFS, is to try using another webserver and see if it goes faster.
Title: Re: Speed problem
Post by: maverick on December 05, 2006, 06:02:36 AM

uploading and downloading locally with no limit always take 100% CPU.
i think the speed variation on your test doesn't depend on HFS.

You are correct.  Just re-tested a local download with speed limit set (simulating a remote download)  and there was only little CPU used during the transfer.

As for the speed variation in the previous upload test, don't know why.
Title: Re: Speed problem
Post by: MarkV on December 05, 2006, 08:25:54 PM
HTTP protocol simply isn't intended for large file transfers!
For very large file transfers use FTP.

MarkV
Title: Re: Speed problem
Post by: rejetto on December 05, 2006, 08:30:00 PM
no, i think it's ok for large files, downloading.
it's uploading doesn't work good.
Title: Re: Speed problem
Post by: MarkV on December 05, 2006, 10:12:47 PM
Of course it works, yes, but...

Hyper Text Transfer Protocol vs. File Transfer protocol

I just wanted to say that HTTP was not created with file transfer in mind, but transferring small website files.
HFS pulls the best out of it, but undoubtedly it is optimized for small files.

The other side is, for HTTP you only need a browser.

I, personally, run both types of server on my machine.


Good Night, MarkV  ;D
Title: Re: Speed problem
Post by: rejetto on December 06, 2006, 01:39:20 AM
to transfer 1 big file, i see no benefit in using FTP instead of HTTP.
i'm talking about the protocol itself, most http client ar enot a good way to transfer big files.
opera itself sometimes reset my download without asking :)
Title: Re: Speed problem
Post by: MarkV on December 06, 2006, 07:07:31 PM
I'm not talking about 1 big file...

Sometimes I transfer whole hard disks over LAN. That is not a job for HFS, sorry...  ;)

End of discussion  :D

MarkV
Title: Re: Speed problem
Post by: Nick M on December 29, 2006, 09:03:07 AM
I wanna hop in with a speed problem of my own. First i will say this is the best http file server i have found, good work.
But anywho... i have a fiber connection at home, 10mbps up, 2 down. and i've had HFS for about 2 months maybe, and have never seen a d/l cap 150kbps, and with mulitple files d/l they're all avg about 130. No speed limit, connection has been tested otherwise, no upload speeds as i or any1 else haven't uploaded anything large enuff to check.
I would also like to ask, has any1 tired streaming content? cuz i would like to be able to stream movies i have to the computers on campus.
Title: Re: Speed problem
Post by: TCube on December 29, 2006, 10:01:38 AM
I would also like to ask, has any1 tired streaming content?

Did try one full movie on loop; if more info needed please go there :

http://www.rejetto.com/forum/index.php?PHPSESSID=4ad5bddb50881afc02cafd890bd9ef93&topic=3802.0
Title: Re: Speed problem
Post by: Gromith on January 06, 2007, 09:42:49 PM
Same problem here! I have a 100MBit Full Duplex Internet Connection but the max. download ist between 150 and 220kb/s.  ??? :o :-\
Title: Re: Speed problem
Post by: TCube on January 06, 2007, 10:36:37 PM
I did one test in this topic   http://www.rejetto.com/forum/index.php?topic=4011.0 (http://www.rejetto.com/forum/index.php?topic=4011.0) you can check the speed results over a 100 100Mbit/sec bandwith, unluckily the server located in Paris is out at the moment .