Hi Wim,

You can change priority on the in.ftp daemon, but I'm not sure it
would make much difference.

You can do this using renice on the in.ftpd daemon. I show the
results of my test below on ftp on 10mb network.

I'm not sure how much difference it would made on a modem
connection, but I'd be interested your results if you try it.

How to Do It
0. su root
1. Find the PID of the in.ftpd using top
2. type renice 19 <pid> (this sets the ftpd to the lowest priority
it will let you)

3. You could also set netscape to the highest priority (19 - or
20 if it will let you)

My results

I did a ftp of 20mbytes to the Linux server under different
conditions.
With no other work going on, changing the priority from -19 thru
19 made no real difference (23 seconds ave.)

With a heavy network load (44 xsysinfo and xosview sessions on a
X-windows session from a remote box) I got a 23 second ave
transfer on priority -19 and 33 second ave transfer on priority
19.

I've seen a perl script around somewhere which will constantly
read top to find instances of a program or program group and set
the pids to a given priority depending on a user table. It is
handy when the system is being used as a web server and serving
web page requests are given priority over other services like ftp.
This technique is of course not specific to Linux.

Hope this helps, let me know if it makes any difference.

Kind regards
Tony Wells
Phenomenal Books
"I have made this letter longer than usual because I lack the
time to make it shorter" - Blaise Pascal.
[EMAIL PROTECTED]
bookstuff: www.phenomenal-books.com
anyotherstuff: [EMAIL PROTECTED]
Intnl tel/fax: +44 1524 845559
UK tel/fax: 01524845559
Mobile: (+44) (0) 370 963410




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to