ish-app / ish

Linux shell for iOS
https://ish.app
Other
16.95k stars 892 forks source link

tree command is painfully slow #2086

Open jotzet79 opened 1 year ago

jotzet79 commented 1 year ago

Hello ish-app Team,

Thank you for this awesome way of playing (messing ;-)) around with Linux on iOS Devices. I wanted to know what causes I/O in general to be so slow when it comes to mounted filesystems like, i.e. mount -t iOS . /mnt/abc: one example is the tree

Is this because of emulation?

Another example is exiftool takes several seconds to load. Even java seems to boot a bit quicker…

Any insights? Thanks, Jo

freebrowser1 commented 1 year ago

Well, I have been playing with iSH on an iPad as well. It runs, but is very crash prone. Some apps like e.g. Python or Apache do work, but sometimes just crash under 'heavy' load. It is not the speed, but probably the emulator is rather unstable. It is not heavy at all, but just running yt-dlp for a 100+MB sized Youtube video crashes. Same with loading a rather simple website under Apache. What does work is accessing it in the background even when the screen is off and iSH runs in the background. It allows copying files over rsync command or doing a shell connect using mc (Midnight commander) from a terminal on any Linux or Mac client. Combined with the mount possibility to mount file provider apps like Readdie Documents it allows direct copying files to and from an iPad or iPhone in the background.

jotzet79 commented 1 year ago

@freebrowser1 I think you missed my point...

Well, it is actually more about the difference in speed when I compare iSH native filesystem iterations versus 'fake' iOS.