PDA

View Full Version : Slow CPU causing transfer/CRC-problems


melt
03-24-2006, 07:40 PM
Hey guys, based on some early experiences on ioftpd, I was wondering how much of an issue a slow CPU can actually be...

My story:
I got an old box set up on a full duplex 100mbit line. The box is only an Athlon 650mhz with 512megs of ram. Now, as I tried a few different zipscripts, all seem to need more cpu than the box has. Whenever I send a file over, the cpu sits on 100% and the speed doesn't go much higher than 7000kb/sec. I know the line should be able to go faster (downloading from the box goes over 10000kb/sec for example), but it's crippled by the cpu being unable to crc-check the file I guess.

Now the 'capped' speed is not the only problem, when multiple people are connected and busy sending, the zipscripts I tried (iojZS, ioZS, ioSFV) all "drop" a few files once in a while, I presume caused by the cpu being unable to handle all requests or something. Thus, even though all the files from the sfv are physically there, the folder won't say 100% complete untill manually rescanned.


So, I got 2 questions:
-is this normal behavior? Is it normal a 650mhz box can't handle 100mbit upload?
-if yes, is there still some way (some zipscript) to not have those 'drops' I mentioned?

Thanks in advance!

zOrP
03-28-2006, 04:45 PM
i have the same problem with a 2,0 ghz...
:x

would more ram help ?

tuff
03-28-2006, 04:56 PM
ioSFV for a start, does not check the crc of any files uploaded, it simply checks the passed arguments from ioftpd, with its precached sfv file info. it takes however long to simply compare 2 text values, AB11AB11 with AB11AB11. (ioftpd calculates the files crc32 on the fly)

i suggest you look elsewhere to cure your problem

EwarWoo
03-28-2006, 05:29 PM
On some boxes I used to config they used to have this issue with ioBanana doing exactly this (very old version of ioBanana BTW, not used in a hella long time so can't comment on current version) but switching to php_pSio seemed to fix things up. I don't know if these boxes were quite that low spec but they were low spec.

With a box that low spec if its a seperate box the best solution would be to install glFTPD. io is the best on windows by far but it can't compare to a linux solution for stability has unfortunately it still suffers from being on MS.

It may take a while to first set-up but its not as hard as you may think.

melt
03-29-2006, 06:28 AM
ioftpd calculates the files crc32 on the fly

Hmm, I did not know ioftpd calculated the crc32 on the fly. Seems to me that exactly that is what's taking the cpu power?