You are not logged in.

#1 2008-03-15 10:58:33

Paingiver
Member
Registered: 2008-03-01
Posts: 34

/usr/local/bin vs /usr/bin and Kazehakase vs Firefox

When you install an application to /usr/bin  will it be more faster than installed on /usr/local/bin?

I have Firefox installed in /usr/bin and Kazehakase installed to /usr/local/bin. And it seems that Firefox is faster than Kazehakase. Why?

Last edited by Paingiver (2008-03-15 11:11:48)

Offline

#2 2008-03-15 11:00:54

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

That's indeed a lot of pain you give us.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#3 2008-03-15 11:03:16

hacosta
Member
From: Mexico
Registered: 2006-10-22
Posts: 422

Re: /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

maybe firefox is faster than kazehakase and it has nothing to do with the installation directory big_smile

Edit: Typo

Last edited by hacosta (2008-03-15 20:53:59)

Offline

#4 2008-03-15 11:08:58

Paingiver
Member
Registered: 2008-03-01
Posts: 34

Re: /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

I have read an article some time ago.It was mentioning that the system uses /sbin and /bin directory for important and fast-opening-need executables.And gives another binary directory for less important files.
And everyone suggest Kazehakase for older machines and praise it's speed.

Offline

#5 2008-03-15 11:31:09

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

I read an article also that said if you put a symlink to the firefox executable in your home directory, it can execute faster cuz your in your home directory already and it can be found faster. and also, if you rename it to 'f', there's only one letter to read so it can execute even faster.


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#6 2008-03-15 11:40:58

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 996

Re: /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

Paingiver wrote:

...
and fast-opening-need executables....

that's total crap....
http://www.pathname.com/fhs/pub/fhs-2.3.html


pkgman - the ultimate mosquito control (AUR)

Offline

#7 2008-03-15 11:45:54

Endperform
Member
From: Atlanta GA, USA
Registered: 2007-09-04
Posts: 94
Website

Re: /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

Location has nothing to do with speed.  At all, unless you have some weird configuration where you have /usr/bin mounted on one disk and /usr/local/bin mounted on another, slower disk.  Even then, the application itself would only be slow on disk access.

The notion that an application can be sped up by linking it in your home directory, or even renaming it to one letter is also crazy.  Your install will search for an executable in the path specified in $PATH and then execute the first instance it finds, but this does NOT speed the application itself up.

Offline

#8 2008-03-15 11:48:40

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

Endperform wrote:

The notion that an application can be sped up by linking it in your home directory, or even renaming it to one letter is also crazy.  Your install will search for an executable in the path specified in $PATH and then execute the first instance it finds, but this does NOT speed the application itself up.

No seriously, if you rename all your executables to one letter then your system runs like lightning!

* am i really that bad at sarcasm? *


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#9 2008-03-15 11:54:24

Endperform
Member
From: Atlanta GA, USA
Registered: 2007-09-04
Posts: 94
Website

Re: /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

dyscoria wrote:
Endperform wrote:

The notion that an application can be sped up by linking it in your home directory, or even renaming it to one letter is also crazy.  Your install will search for an executable in the path specified in $PATH and then execute the first instance it finds, but this does NOT speed the application itself up.

No seriously, if you rename all your executables to one letter then your system runs like lightning!

* am i really that bad at sarcasm? *

Yes, since there was no indication of sarcasm in your post.  A smile or big_smile would have worked smile

Offline

#10 2008-03-15 11:57:15

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

NO, i wasn't being sarcastic.

Rename all your executables to one letter. No actually one number. Numbers are faster than letters.


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#11 2008-03-15 17:22:44

bavardage
Member
Registered: 2008-02-17
Posts: 160

Re: /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

It's even faster if you name them only with ones and zeros, then the computer doesn't actually have to convert the filename to binary.

Offline

#12 2008-03-16 00:48:39

Endperform
Member
From: Atlanta GA, USA
Registered: 2007-09-04
Posts: 94
Website

Re: /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

Bah, just dump everything into one single directory.  No searching needed!

Offline

#13 2008-03-16 06:50:18

Gruntz
Member
From: Haskovo, Bulgaria
Registered: 2007-08-31
Posts: 252

Re: /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

@the people that think that /bin is faster then /usr/local/bin: What filesystem are you using?

Offline

#14 2008-03-16 08:38:52

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 960
Website

Re: /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

No, really. Set your path to / and migrate ALL executables and binaries there. Rename them to correspond to each keyboard character, make sure to document it so you don't forget. Paste it as the wallpaper, either real on your bedroom wall or virtual on your computer wall. So when the time comes to call Firefox you type "F", Kamikazenokazehakaseomaenochikarada you type "K".

That way, it's really fast. This is not a joke.

If you want to have /usr/local, let it be for your own scripts and externally-installed software.


I need real, proper pen and paper for this.

Offline

#15 2008-03-16 11:30:19

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,604

Re: /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

Yes.. fun, fun, fun. Anyway, the OP has been answered, and this thread is degenerating fast.
For ongoing nonsense, please report to the Off-topic board. smile
Closed.

Offline

Board footer

Powered by FluxBB