[MSXHUB][UNAPI] MSXHUB - Boosting its performance

بواسطة ducasp

Champion (462)

صورة ducasp

11-03-2020, 16:23

Since I've started to work on SM-X WiFi features (I've made the UNAPI driver/customized ESP8266 firmware and Victor Trucco helped me implement the VHDL / FPGA MSX interface to the ESP8266), I also started to look at a few UNAPI applications that had the source code available and started to improve those. One of the applications is fr3nd MSX HUB:


My version of HUB.COM improves individual file transfer performance quite a lot. Even for OBSONET (its performance is CPU bound) more than 30% of transfer speed improvment has been achieved, and on fully accelerated UNAPI adapters like GR8NET and SM-X WiFi, up almost 7 times faster (on a SM-X using z80 Turbo Speed), going from ~3KB/s to 20KB/s during a file transfer.

I've made a release before at this topic:


But it had a bug that prevented proper working if a too small file (i.e.: less than 50 bytes) was in the installation package and you were running it on 80 columns, i.e.: sofarun installation would not work... I've fixed that and up to my knowledge it should work fine on any package available at MSX HUB (did not test all, but tested most of them).

Of course I've made a pull request at fr3nd github with my changes, but, until he is able to review and decide to incorporate or not my changes, I'm making it available for everyone, as I think that allowing a faster transfer speed makes this AWESOME software even more enjoyable. ;)

If any issue arise with this unofficial build, please let me know. Hope you all enjoy it! ;)

P.s.: if you already have HUB, just rename hub.com to hub.ori and copy hub.com from my github to your disk. If you don't have it yet, just create a folder HUB in your disk, copy HUB.COM from my github to that folder, and that is it. :)

Login أوregister لوضع تعليقاتك

بواسطة ToriHino

Paladin (730)

صورة ToriHino

11-03-2020, 17:18

Wow that's quite a speed improvement indeed! Will try it later on my TurboR and GR8NET combination.

بواسطة fr3nd

Expert (112)

صورة fr3nd

11-03-2020, 19:56

Wow, that's a huge improvement. The speed increase is really noticeable and so far I haven't detected any issue.

I'd like to do some more testing before merging your PR and releasing a new version, but it looks really good!

Thank you for your contribution!

بواسطة ducasp

Champion (462)

صورة ducasp

11-03-2020, 21:41

Thanks fr3nd, no worries about that, you are right on being careful before merging and releasing as official, thus why I'm releasing it for whoever wants to test it now, it should be ok but any issues found, just tell me and I will work on solving those. Smile

بواسطة fr3nd

Expert (112)

صورة fr3nd

13-03-2020, 20:28

I've released a new version (1.0.3) with Ducasp changes that speed up considerably the download of the packages.

Get it from https://msxhub.com/HUB or just run HUB upgrade HUB in your MSX!

بواسطة karloch

Prophet (2146)

صورة karloch

13-03-2020, 21:42

Yay! You guys rocks!

بواسطة ducasp

Champion (462)

صورة ducasp

13-03-2020, 23:09

To me hub upgrade hub did not work as I did not install hub through hub... Tongue

So in my environment, I had to HUB INSTALL HUB

My guess is that future iterations I will be able to do HUB UPGRADE HUB Wink