file transfer speed

Asked by mohsen hosseini

files from server to client (server and client installed both in a machine) transfer at 500KB.
Is there any limitation or configuration to change or maximize this speed?

is it related to $chunkSize at xmdssoap.class.php ?

thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Alex Harrington (alexharrington) said :
#1

The clients use a 512k chunk size.

If you wanted to increase that, then you'll need to edit the source code for whatever client you're using, and in the case of the Windows client recompile.

Alex

Revision history for this message
mohsen hosseini (mohsen-hosseyni) said :
#2

Thanks Alex Harrington, that solved my question.

Revision history for this message
Dan Garner (dangarner) said :
#3

Altering that shouldn't massively effect the speed though, right?

Of course it will make a difference, but its the difference between downloading a few big chunks, or lots of little chunks??

Revision history for this message
mohsen hosseini (mohsen-hosseyni) said :
#4

I didnt change that, But I tested the speed, in two scenario,
1. Server and client in a machine file transfer speed done at 500KByte client receive
2. Two machine for server and client, speed to receive file, 1MByte

If it is not related to chunk size, then, Why the speed is low in a 1Gb lan connection?

Revision history for this message
Alex Harrington (alexharrington) said :
#5

There's a fair overhead in reading the file 500k at a time.

For each chunk, you have to wait for the client request, then the SOAP service to process that, then the server to locate, open and lock the file, seek through the appropriate offset, encode the output for the SOAP response, send the data to the client.

Increasing the chunk size will probably make things a bit quicker.

As to why the transfer speed is low over 1GB ethernet, you realistically won't get much more than 80Mb/sec through a 1Gbps connection unless you're using jumbo frames in the first place.

An secondly, the design goal of XMDS is reliable background transfer of media files. It's not designed to be really fast nor is it designed to max the processor out on the client so that it can't play content at the same time.

Alex

Can you help with this problem?

Provide an answer of your own, or ask mohsen hosseini for more information if necessary.

To post a message you must log in.