Page 1 of 1

Slow FTP upload

Posted: Mon Jun 19, 2006 8:37 pm
by johnsk
hi,

I noticed that using the built-in FTP server of RouterOS causes problems with uploads.

I've just built a new router (Celeron 2.8GHz,512MB RAM,20GB ATA133 HDD,on-board LAN,i865 chipset) and tried to upload a 300MB file over WIRED connection. Well, the speed was 10MB/s but every 30-40MB the speed drops to 20KB/s and then bounces back to 10MB/s, obviously this slows down transfers a lot (CPU utilisation jumps to 100% during the slowdown). Downloading from the FTP is a constant 10MB/s, no dropouts here (CPU utilisation 20%)

Is this a bug of RouterOS? I presume this might have something to do with missing DMA support in ROS? I hope I am wrong.. Any idea on how to FIX this?

Also, what is the maximum size of HDD that RouterOS can use?

John

Posted: Wed Jun 21, 2006 12:24 pm
by johnsk
Noone has any idea how to solve this problem pleeease?

Posted: Wed Jun 21, 2006 3:44 pm
by Eugene
RouterOS is not designed to be an FTP server. It's a router, after all.

Posted: Mon Jun 26, 2006 10:03 am
by abc123
problem is that routeros does NOT use busmastering drivers for HDD/chipset. Thus, when it has to flush cached data to harddisk, processor goes to 100% and transfer is slow (instead of several tens of megabytes per second, you are lucky to have several megabytes per second).

When you tried to read your 300MB file, it was CACHED in memory. That's why it was fast. If you reboot Routeros and then read the same file, you will get nowhere the speed. I think you will have something around 2-3MB/s = around 16-24Mbit/s. If you try to read the same file second time, you will get full throughput of network card (ie >9MB/s on 100Mbit ethernet).