Homebrew Too slow connection on ftpiiu

  • Thread starter Thread starter oleguer
  • Start date Start date
  • Views Views 3,123
  • Replies Replies 6

oleguer

Well-Known Member
Newcomer
Joined
Mar 9, 2018
Messages
58
Reaction score
5
Trophies
0
Age
39
XP
328
Country
Spain
Hello forum! I´m using ftpiiu everywhere for coldboot and use the cable connection of wiiu using the adapter..... but I only can send the files at 120Kb/s (I think because the program have limit transfer mode, because when I try to send any file the porgram says entering passive mode....) anyone know what I need to unlock the transfer limit?? or I only can send in pasive mode at 120kb/s??? (I think with any admin login or other??)) Thanks forum!!
 
I read the source code of ftpiiu and I found this on net.c
Code:
#include "net.h"

#define MAX_NET_BUFFER_SIZE (64*1024)
#define MIN_NET_BUFFER_SIZE 4096
#define FREAD_BUFFER_SIZE (64*1024)

extern u32 hostIpAddress;

static u32 NET_BUFFER_SIZE = MAX_NET_BUFFER_SIZE;

#if 0
.............................

The app limit automatic the write speed of the app?? Can anyone edit them?? Thanks forum!!

EDIT: I attach the source code of ftpiiu for coldboot =)
 

Attachments

Last edited by oleguer,
The app limit automatic the write speed of the app??
Where do you see that in the code snippet you showed? The real problem is libiosuhax hating small writes (so FTPiiU should batch up writes in RAM, then handle them in i.E. 1 MB chunks to libiosuhax) and no multitasking (network I/O and FS I/O on the same thread are a bad idea).

Also why are you attaching the codes? That way nobody knows what code revision / fork it is. Here some more (maybe more modern, didn't download your zip file) codes:
https://github.com/wiiu-controller-mods/ftpiiu-everywhere
https://github.com/rw-r-r-0644/ftpiiu
https://github.com/wiiu-env/ftpiiu
 
Where do you see that in the code snippet you showed? The real problem is libiosuhax hating small writes (so FTPiiU should batch up writes in RAM, then handle them in i.E. 1 MB chunks to libiosuhax) and no multitasking (network I/O and FS I/O on the same thread are a bad idea).

Also why are you attaching the codes? That way nobody knows what code revision / fork it is. Here some more (maybe more modern, didn't download your zip file) codes:
https://github.com/wiiu-controller-mods/ftpiiu-everywhere
https://github.com/rw-r-r-0644/ftpiiu
https://github.com/wiiu-env/ftpiiu

I take the code from here is a mod of ftpiiu everywhere for coldboot @V10lator sorry but I dont understand what I need to speed up ftpiiu everywhere can you explain me step by step thank you!! (and sorry for bad english ^^'')
 
can you explain me step by step thank you!!
If you're not able to code I can't explain. The reply above was given in the hope you can as you told you see an artificial limitiation in the codes you showed (which aren't even codes but just some buffer size defines).
The limitations aren't resolved by changing one line of code but by (almost) completely rewriting FTPiiU Everywhere. If I would have a step-by-step tutorial I would have rewritten the codes already.

In other, more simple words: The step-by-step tutorial is:
1) Learn C programming
2) Learn the APIs involved (like libiosuhax)
3) Have a lot of free time

The rest will come together then.
 
Speed on Ftpiiu is known to be slow.. about 120 KB/s. This is a known issue.

As @V10lator said, that limitation isn't set by the tool itself; The whole code needs to be optimized and that requires a lot of work and knowledge about Wii U hardware.
 
Last edited by depaul,

Site & Scene News

Popular threads in this forum