Community discussions

MikroTik App
 
johnsk
just joined
Topic Author
Posts: 10
Joined: Mon Mar 13, 2006 11:15 pm

Slow FTP upload

Mon Jun 19, 2006 8:37 pm

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
 
johnsk
just joined
Topic Author
Posts: 10
Joined: Mon Mar 13, 2006 11:15 pm

Wed Jun 21, 2006 12:24 pm

Noone has any idea how to solve this problem pleeease?
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Wed Jun 21, 2006 3:44 pm

RouterOS is not designed to be an FTP server. It's a router, after all.
 
abc123
newbie
Posts: 34
Joined: Fri Mar 31, 2006 6:13 pm

Mon Jun 26, 2006 10:03 am

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).