[OpenIndiana-discuss] Shell to use?

Chris oidev at bsdos.info
Wed Jan 20 17:23:13 UTC 2021


On 2021-01-20 04:57, Hung Nguyen Gia via openindiana-discuss 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.
I might suggest you try the default (Free)BSD shell; t/csh. While FreeSBD 
calls it
csh, the differences really only appear in their name. I do the following on 
all
my fresh OI installs;
usermod -s /usr/bin/tcsh <my user name>
The same thing can be accomplished with root, only the command is
rolemod -s /usr/bin/tcsh root
The downside is that OI doesn't create a dot file for (t)csh. So if you want 
to
tweak your PS1 && environment. You'll want to snag one off a BSD, or use one 
you
already have somewhere. Also, I'm *not* suggesting you didn't already know 
how to
do this. Just sayin' what *I* did. :-)
If it makes a difference. You're done. :-) If not. hmm...
I'm going to be doing a lot of building today. So I'll get a better chance to 
see
if I experience what you're talking about. If I do, and find a solution. I'll 
post it.

--Chris out...
> 
> ---- 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?
>  > >   > >  >
>  > >   >
>  > >   >
>  > >   > --
>  > >   > ---
>  > >   > Praise the Caffeine embeddings

-- 



More information about the openindiana-discuss mailing list