public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Kurt Johnson" <gorydetailz@yahoo.co.uk>
To: riel@conectiva.com.br
Cc: linux-kernel@vger.kernel.org
Subject: small doubt about fair-scheduler patch
Date: Mon, 2 Dec 2002 19:25:53 +0000 (GMT)	[thread overview]
Message-ID: <20021202192553.87887.qmail@web13204.mail.yahoo.com> (raw)

Hi,

Im using your fair scheduler patch (2.4.19-fairsched),
applied on top of 2.4.20-rmap15a+read_latency2, and
everything seems great. However, I have one small
doubt, ps output seems a little strange, some
processes appear to be out of order. To illustrate,
here's the output of ps. Im wondering, is this normal?

bash-2.0.5b# ps -eo pid,ppid,user,command
  PID  PPID USER     COMMAND
    3     1 root     [ksoftirqd_CPU0]
    2     1 root     [keventd]
    5     1 root     [kscand]
    6     1 root     [bdflush]
    8     1 root     [kreiserfsd]
  410     1 root     /sbin/dhcpcd eth0
  551     1 root     [eth1]
  613     1 root     klogd -x
  627     1 root     sshd
    1     0 root     init [3]
  682   627 root     sshd
  685   684 kurt     -bash
  760   685 root     su -
  799     1 root     xinetd
  604     1 root     syslogd -m 0
  820     1 snmp     /usr/sbin/snmpd
  841     1 root     logger -t safe_mysqld
  840     1 root     /bin/sh /usr/bin/safe_mysqld 
  870   840 mysql    /usr/sbin/mysqld
    4     1 root     [kswapd]
  894   885 httpd    /usr/sbin/httpd -DSSL
  893   885 httpd    /usr/sbin/httpd -DSSL
  885     1 root     /usr/sbin/httpd -DSSL
  898   885 httpd    /usr/sbin/httpd -DSSL
  680     1 root     portsentry -audp
  681     1 root     portsentry -atcp
  665     1 root     crond
    7     1 root     [kupdated]
  761   760 root     -bash
  684   682 kurt     sshd
 1003   761 root     ps -eo pid,ppid,user,command

Without the fairsched patch, ps output is normal, eg,
init is always the first process listed, all kernel
threads appear at the top (notice kswapd and kupdated
near the bottom), and processes with lower pids never
appear after others with higher (eg, portsentry is 680
and was started before httpd which is 898, yet it
still appears after it). Im just wondering, is this
purely aesthetically or is there something fishy?

Regards,

//kj

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

             reply	other threads:[~2002-12-02 19:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-02 19:25 Kurt Johnson [this message]
2002-12-02 20:16 ` small doubt about fair-scheduler patch Rik van Riel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021202192553.87887.qmail@web13204.mail.yahoo.com \
    --to=gorydetailz@yahoo.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox