RevPi core file transfert performance vs RevPi Compact

Topics about the Hardware of Revolution Pi
Post Reply
richard.vezina
Posts: 12
Joined: 15 Mar 2021, 21:32

RevPi core file transfert performance vs RevPi Compact

Post by richard.vezina »

Hi,

We have tried to use RevPi core in our application to serve file with tftp and we get terrible performance (very long file transfert). We couldn't find specification about the RevPi core storage.

Currently we assume that the speed performance we observe is related mostly to the RevPi core limited cpu as we test serving file from usb key vs internal revpi storage and there were no difference.

Do you have some benchmark between the revpi core and the revpi compact??

We wanted to buy the revpi compact in the first place but it wasn't already commercialise.

If RevPi compact has more decent file transfert performance we consider upgrading.

Thanks
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: RevPi core file transfert performance vs RevPi Compact

Post by dirk »

Hi, do you use the RevPi Core 1 or The RevPi Core 3? What was your expectation?
My quick research pointed out the tool "usbtop" looks nice for perfromance measurements.
So compared to RevPi Core 1 all other RevPi Modules have better performance as they are using the Compute Module 3.
Internaly we are using an IC to distribute the USB from the Compute Module to ethernet network and the USB interfaces.
Schematics are available see download area.
richard.vezina
Posts: 12
Joined: 15 Mar 2021, 21:32

Re: RevPi core file transfert performance vs RevPi Compact

Post by richard.vezina »

Hi,

RevPi Core 1

Currently on PLC it takes : 27525120 bytes in 201.6 seconds

Compare to 27525120 bytes in 10.7 seconds

When I serve file from a regular linux laptop.

I can't provide the file I use for you to benchmark revpi compact... But if you take any file with similar size that I could try on my side it would help to clear out the question and determine if we buy revpi compact or not.

I used this howto for the tftp server setup : https://dynamicparallax.wordpress.com/2 ... tp-server/

The only thing important is to use pi user and 777 permission otherwise it works.

Thanks
richard.vezina
Posts: 12
Joined: 15 Mar 2021, 21:32

Re: RevPi core file transfert performance vs RevPi Compact

Post by richard.vezina »

Hi,

Any insight on file transfert performance of RevPi compact would be appreciate.

Thank you
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: RevPi core file transfert performance vs RevPi Compact

Post by dirk »

Dear richard, I have made a test setup with a RevPi Compact and a RevPi Core 3. I have used the steps from the tutorial you have posted to setup the TFTP server.
I have created a random file like so

Code: Select all

dd if=/dev/urandom of=/tftpboot/random count=27525120 iflag='count_bytes'
Then on the client the transfer performance was this:

Code: Select all

pi@RevPi39627:~ $ tftp 192.168.2.233
tftp> get random
Received 27739814 bytes in 35.3 seconds
richard.vezina
Posts: 12
Joined: 15 Mar 2021, 21:32

Re: RevPi core file transfert performance vs RevPi Compact

Post by richard.vezina »

So nice Dirk!

It corroborates the tests I did with beaglebone black and a raspberry pi 4 b that I had on hand.

Thanks a lot

Richard
Post Reply