[OpenIndiana-discuss] Shell to use?

Hung Nguyen Gia gh_origin at zohomail.com
Wed Jan 20 16:00:08 UTC 2021


I'm posting on MX Linux, not OI. As I said, my stupid BIOS hates OI.

I have tested on two instances.

First, physical machine.

This is when I removed all disks from my system but only keep the OI disk, OI could boot and functional properly.
Only dual boot triggered the stupid BIOS.

I watched 4k videos on this system. Using Pale Moon which I compiled from source. Our outdated Firefox can't deal with 4k. It will just crash.
My desktop is an out of the box MATE desktop of OI. No customization was made.

The terminal emulator is of course Mate terminal. And it's slow with this terminal.

On physical machine, OI is always run as a graphical system. 

The console font of OI is too bad. It hurts the eyes.

OpenBSD is much better. I can work with console OpenBSD, but can't stand console OI.

Second, the VM.

It's a VirtualBox VM. The host is MX Linux. 4 cores 4GB of RAM. My host have 4 cores 8GB of RAM, I give the VM as much I could give.

It's a minimal text based installation.

Both accessing the console using VirtualBox or use ssh on XFCE4 Terminal on the MX Linux host, everything is still slow.

The fact is I found the output is a bit faster when using ssh.

But it could be just because OI's console font is too bad and the good looking font on XFCE4 Terminal that fooled my eyes.

I didn't make this as a statement, because I didn't measured the actual time spent between them.

Hope this help with your investigation. I can provide no additional information.



---- On Wed, 20 Jan 2021 22:32:22 +0700 Araragi Hokuto <araragihokuto at outlook.com> wrote ----

 > Now we're finally progressing. And I believe we can progress even more 
 > efficiently if you can provide the needed information instead of 
 > accusing my "hatred" (which I sincerely do not have; an anonymous person 
 > on the other side of the screen isn't significant enough for me to 
 > develop hatred for. My previous post was triggered by those aggressive 
 > statements still occasionally appears between your words). 
 >  
 > So I would like to ask again about your display settings (since your 
 > mail seem to suggest that you are using an graphical interface), because 
 > you still haven't give me enough infomation to rule out that possibility: 
 >  
 > 1) If you are using the video tty console (e.g. without X), which mode 
 > are you operating on? The BIOS with VGA text mode, the BIOS with 
 > "graphical console", or the UEFI console? 
 >  
 > 2) If using X, I would like to confirm your X settings as stated in my 
 > previous email. 
 >  
 > And since you were mentioning 4K video performance, I would like to 
 > confirm that the 4K video test is actually conducted on OI, because 
 > graphical performance on another OS clearly does not matter that much. 
 >  
 > In case you are still not convinced, here are some simple performance 
 > test results, conducted by untaring a gcc 9.3.0 source tarball, on the 
 > same VM running OI: 
 >  
 > 1) BIOS, Graphical console: 7.65s user 59.54s system 1:14..64 total 
 >  
 > 2) BIOS, VGA Text console: 8.79s user, 1065.31s system 18:11.63 total 
 >  
 >      Yes, this is not a typo. I am as surprised as you may are, so I 
 > tried again: 
 >  
 >      8.61s user 1060.95s system 18:07.12 total 
 >  
 >      Apparently VirtualBox's VGA Text implementation is not incredibly fast. 
 >  
 > 3) ssh localhost -p <guest's ssh port>: 7.94s user 13.22s syste, 32.183 
 > total 
 >  
 > 4) with `> /dev/null` (e.g. no output at all): 7.35s user 11.72s system 
 > 30.844 total 
 >  
 > There's a 35x performance difference between VGA Text and null, so I 
 > would like to rule out that variable before digging deeper into it. 
 > That's why I'm asking for details on your display setup. 
 >  
 > On 1/20/21 8:57 PM, Hung Nguyen Gia wrote: 
 > > I will took me hours to write a very long mail to answer each of your points. 
 > > 
 > > So I will give you a short summary: I have tried it on both physical machine and virtual machine, my graphics performance is good on the physical machine, I could watch 4K video without much tearing. I would say it's slow in any circumstances. Not only the output printing is slow. I really measured the time it took to complete the jobs to do comparison. 
 > > 
 > > Hater gonna hate. I know you hate me. So I don't mind. 
 > > 
 > > The fact is both Linux and OI are using bash as their default login shell for user, though. 
 > > 
 > > Please do a little investigation before you post and don't let your plain hatred for someone to ruin your investigation. 
 > > 
 > > I didn't asked to add any Linux shell at all. Please keep that in mind. 
 > > 
 > > 
 > > 
 > > 
 > > ---- On Wed, 20 Jan 2021 01:40:13 +0700 Araragi Hokuto <araragihokuto at outlook.com> wrote ---- 
 > > 
 > >   > From my experience, the shell's performance hardly makes large 
 > >   > difference, because the shell itself is *not* that different (that is, 
 > >   > if there's a difference in the first place: most *nix I've ever seen 
 > >   > ships with the same set of shells). 
 > >   > 
 > >   > Given that you are stating the output printing is slow, I would like to 
 > >   > confirm your display setting first: 
 > >   > 
 > >   > 1) Are you running OI inside a vm, or are you running it on real 
 > >   > hardwares? If later, can you provide the specs of hardware in use? 
 > >   > 
 > >   > 2) What interface are you using, video console, terminal emulator under 
 > >   > X, or something else (through ssh, etc)? 
 > >   > 
 > >   >      a) If using video console, are you using VGA text console, or BIOS 
 > >   > graphical console, or UEFI console? All three of them have significant 
 > >   > performance difference on my hardware. 
 > >   > 
 > >   >      b) If using X, what video driver are you using? Look into your Xorg 
 > >   > log if you are not sure. 
 > >   > 
 > >   >      c) If its something else, priovide more infomation so we can look 
 > >   > into it. 
 > >   > 
 > >   > I would at least confirm the problem really lies inside shell before 
 > >   > asking maintainers to update it, and I would *NEVER* send out a mail 
 > >   > with something like "OI is too slow for me so GO GET LINUX'S SHELL AT 
 > >   > ONCE". Don't blame Google translator for it; we can tell the difference 
 > >   > bewteen poor translation and true disrespect, and disrespectful mail 
 > >   > calls for disrespectful replies. 
 > >   > 
 > >   > On 1/20/21 12:46 AM, Hung Nguyen Gia via openindiana-discuss wrote: 
 > >   > > What is profiled? 
 > >   > > 
 > >   > > I don't think it's gmake at all. 
 > >   > > 
 > >   > > How could you explain the slowness when it 'Checking for...' something? 
 > >   > > 
 > >   > > This stage is plain configure script, gmake is not yet invoked. 
 > >   > > 
 > >   > > 
 > >   > > 
 > >   > > 
 > >   > > ---- On Tue, 19 Jan 2021 23:38:21 +0700 Aurélien Larcher <aurelien.larcher at gmail.com> wrote ---- 
 > >   > > 
 > >   > >   > On Tue, Jan 19, 2021 at 5:20 PM Hung Nguyen Gia via openindiana-discuss < 
 > >   > >   > openindiana-discuss at openindiana.org> wrote: 
 > >   > >   > 
 > >   > >   > > Everything on OI is too slow, so I decided to go another route. 
 > >   > >   > > 
 > >   > >   > > I tried with bash as default shell on FreeBSD and the result is the same. 
 > >   > >   > > 
 > >   > >   > > Also tried on Debian 10 with export SH=/bin/bash, it's pretty much as fast 
 > >   > >   > > as on FreeBSD if not to say faster. 
 > >   > >   > > 
 > >   > >   > > Bash maybe not the problem. 
 > >   > >   > > 
 > >   > >   > 
 > >   > >   > Have you profiled gnu make? 
 > >   > >   > 
 > >   > >   > > 
 > >   > >   > > 
 > >   > >   > > 
 > >   > >   > > 
 > >   > >   > > ---- On Tue, 19 Jan 2021 12:38:28 +0700 edward <edwardmgibson01 at gmail.com> 
 > >   > >   > > wrote ---- 
 > >   > >   > > 
 > >   > >   > >  > 
 > >   > >   > >  > On 1/18/21 8:27 PM, Hung Nguyen Gia via openindiana-discuss wrote: 
 > >   > >   > >  > > The output printed on the screen 'Checking for...' is line by line, 
 > >   > >   > > very slow. Meanwhile, the same thing on FreeBSD is blazing fast that I 
 > >   > >   > > can't even see what's going on at all. 
 > >   > >   > >  > 
 > >   > >   > >  > suggest to try the same type of shell freebsd uses? 
 > >   > >   > >  > 
 > >   > >   > >  > 
 > >   > >   > >  > 
 > >   > >   > >  > _______________________________________________ 
 > >   > >   > >  > openindiana-discuss mailing list 
 > >   > >   > >  > openindiana-discuss at openindiana.org 
 > >   > >   > >  > https://openindiana.org/mailman/listinfo/openindiana-discuss 
 > >   > >   > >  > 
 > >   > >   > > 
 > >   > >   > > _______________________________________________ 
 > >   > >   > > openindiana-discuss mailing list 
 > >   > >   > > openindiana-discuss at openindiana.org 
 > >   > >   > > https://openindiana.org/mailman/listinfo/openindiana-discuss 
 > >   > >   > > 
 > >   > >   > 
 > >   > >   > 
 > >   > >   > -- 
 > >   > >   > --- 
 > >   > >   > Praise the Caffeine embeddings 
 > >   > >   > _______________________________________________ 
 > >   > >   > openindiana-discuss mailing list 
 > >   > >   > openindiana-discuss at openindiana.org 
 > >   > >   > https://openindiana.org/mailman/listinfo/openindiana-discuss 
 > >   > >   > 
 > >   > > 
 > >   > > _______________________________________________ 
 > >   > > openindiana-discuss mailing list 
 > >   > > openindiana-discuss at openindiana.org 
 > >   > > https://openindiana.org/mailman/listinfo/openindiana-discuss 
 > >   > 
 > >   > _______________________________________________ 
 > >   > openindiana-discuss mailing list 
 > >   > openindiana-discuss at openindiana.org 
 > >   > https://openindiana.org/mailman/listinfo/openindiana-discuss 
 > >   > 
 > 



More information about the openindiana-discuss mailing list