Re: Swap or I/O Improvement in Fedora 8?



"LaBird" <b_cheung_2005@xxxxxxxxx> wrote in
news:fq7vn0$p6a$1@xxxxxxxxxxxxxxxxx:

I just have a few preliminary findings in running a large application
using 16GB memory.

On Fedora 8 (Kernel 2.6.23-1.42), it runs using less than 2 hours to
complete only when
I first login as root, and then "su" to a normal user to run the
program. However, if I directly login as the same normal user, the
program takes about 9 hours to complete.

Is there any difference in the memory management for 2.6.21 and
2.6.23, and why logging as a root user first will reduce the execution
time by that much in 2.6.23? Thanks in advance.

It's really impossible to say without more information. But the chief
difference between logging in as root then su'ing to a user and simply
logging in as that user is in the environment strings (as shown by the env
command). Investigate what happens if you use "su - user" which causes su
to invoke a "login shell" (which really just means that the shell processes
a different set of initial script files).

GH
.



Relevant Pages

  • Re: startx Fatal server error: Cannot open /dev/tty0
    ... > startx fails under your normal user login but starts normally under your ... the question become why root user ... can init the video device, ...
    (alt.os.linux.suse)
  • Re: Swap or I/O Improvement in Fedora 8?
    ... | I first login as root, and then "su" to a normal user to run the program. ... Try login as a normal user, su to root, and then from that root shell, su ...
    (comp.os.linux.development.system)
  • Re: [opensuse] login question.
    ... how can I login as su? ... I'm autologging in as normal user, and when I have to do administrative ... Additionally you can configure Sudo to allow you to become root without ... Note that the command to get a root shell from sudo is: ...
    (SuSE)
  • Re: strange and serious problem about user login
    ... > any service other than root. ... > and I try to login as normal user except root, ... > and when I start sshd in this pc, I get no errors, but when I check ...
    (Fedora)
  • Re: Password scan
    ... Disable password-based authentication and use key-based auth only. ... If you need to login to a normal user first, ... su/sudo to become root, an attacker can easily guess the length of the ...
    (comp.os.linux.security)