Roadshow: Increase recv and sendspace

A forum for general AmigaOS 4.x support questions that are not platform-specific
Post Reply
User avatar
Mrodfr
Posts: 29
Joined: Wed Jul 06, 2011 5:29 pm

Roadshow: Increase recv and sendspace

Post by Mrodfr »

Hello,

Roadshow use recvspace and sendspace buffer to transmit datas from 2 computers (with rc-ftpd, for example).

The maximal value for the buffers are around 200000, that allow to transfer, from an amiga to a PC, at max 2.9mo/s.

If the values are more increased, rc-ftpd said that the new value isn't supported.

- I would like to see the value for the 2 buffers more increased, to allow better transfert speed with FTP.

Please share your experience about this point, maybe I haven't made all necessary to have better transfert speed ? What is your transfert speed with this method ?

Bye
xenic
Posts: 1165
Joined: Sun Jun 19, 2011 12:06 am

Re: Roadshow: Increase recv and sendspace

Post by xenic »

Mrodfr wrote:Hello,
Roadshow use recvspace and sendspace buffer to transmit datas from 2 computers (with rc-ftpd, for example).
The maximal value for the buffers are around 200000, that allow to transfer, from an amiga to a PC, at max 2.9mo/s.
If the values are more increased, rc-ftpd said that the new value isn't supported.
- I would like to see the value for the 2 buffers more increased, to allow better transfert speed with FTP.
Please share your experience about this point, maybe I haven't made all necessary to have better transfert speed ? What is your transfert speed with this method ?
Bye
I don't know what " mo/s " means. Is that megabits per second (Mbps), megabytes per second (MBps) or what?? I can confirm that there can be a difference in transfer speed in different programs. For example, when I test Internet download speed at http://testmy.net/ with OWB gets 2.1Mbps but MUI-OWB gets 5.1Mbps. That's a huge difference!

Increasing buffer sizes only helps up to a certain speed. It could be that 200000 was chosen as the max buffer size because anything larger doesn't help. I think you might get a better idea of the effect of buffer size by doing some speed tests with smaller buffer sizes (like 25000, 500000, 100000 etc.). If there is little or no speed difference between 100000 and 200000 buffer, then buffer size probably isn't the problem.

What speed do you get when you send (or receive) a file that is smaller than the buffer size? It seems like that would indicate the maximum speed your program will achieve regardless of buffer size.
AmigaOne X1000 with 2GB memory - OS4.1 FE
swoodall
Posts: 2
Joined: Fri Dec 23, 2011 10:03 am

Re: Roadshow: Increase recv and sendspace

Post by swoodall »

He is French, so he is using the SI term "Octets" == bytes. It isn't one of their renaming attempts that has really caught on...

In my experience, I don't get any better speed with MAX buffers than with MAX/2 buffers, so there is a plateau and I think these buffers are rarely the limiting factor. A nice improvement for installation would be to tune such roadshow parameters based on the detected memory (low memory == low buffers being the current default) and interface speed, etc. Then the user would have one less thing to tinker with to get optimal performance.

There have been several discussions by Olaf and others describing what other development they would anticipate, to eliminate internal overhead and inefficienty in the TCP stack and old SANA2 interfaces. No idea if there is any of this in progress.
User avatar
Hans
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 703
Joined: Tue Dec 21, 2010 9:25 pm
Location: New Zealand
Contact:

Re: Roadshow: Increase recv and sendspace

Post by Hans »

swoodall wrote:He is French, so he is using the SI term "Octets" == bytes. It isn't one of their renaming attempts that has really caught on...
The problem is, if we were to interpret 2.9mo/s strictly in SI units, then that would translate to 2.9 milli-octets per second; the lowercase 'm' prefix signifying "milli" instead of "mega" (which would be 'M'). The use of 'M' instead would probably also be wrong, since 'M' = 10^6 and he probably meant mebibytes per second (denoted 'Mio/s' in SI units), which is 1024*1024 = 1048576 bytes/second. The fact that most people in the computing world use mega to mean mebi when it comes to storage, but mega when it comes to clock frequency, just adds to the confusion.

Back on topic. You're right about internal inefficiencies being the performance limiter. I don't know how much has been done to deal with this problem, but the developers who are knowledgeable in this area have told me that it would be a major overhaul.

Hans
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more. Home of the RadeonHD driver for Amiga OS 4.x project.
K-L
Posts: 76
Joined: Thu Sep 08, 2011 8:35 pm
Location: Lyon, France
Contact:

Re: Roadshow: Increase recv and sendspace

Post by K-L »

Actually, for French language :

1Mo/s = 1MB/s = 10Mb/s

Mrodfr : I'll test rc-ftpd transfers.
--
AmigaONE X1000 / Radeon 2400 Pro (R610LE) / AmigaOS 4.1 Final Edition
Samm440ep/733Mhs (o/c) / Radeon M9 / AmigaOS 4.1 Final Edition
Post Reply