Re: ULE and current.

From: Andy Farkas (andyf_at_speednet.com.au)
Date: 12/11/03

  • Next message: Mark Dixon: "Re: why support alpha??"
    Date: Thu, 11 Dec 2003 09:10:43 +1000 (EST)
    To: Jeff Roberson <jroberson@chesapeake.net>
    
    

    The scheduling of nice processes seems to be broken:

    team2# nice -7 sh -c "while :; do echo -n;done" &
    team2# nice -7 sh -c "while :; do echo -n;done" &
    team2# sleep 120; top -S

      PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND
      675 root 133 -7 1576K 952K CPU1 1 1:52 75.78% 75.78% sh
      676 root 133 -7 1576K 952K RUN 1 1:39 73.44% 73.44% sh
       12 root -16 0 0K 12K RUN 0 18:46 55.47% 55.47% idle: cpu0
       11 root -16 0 0K 12K RUN 1 7:00 0.00% 0.00% idle: cpu1

    Adding a third nice process eliminates the idle time, but cpu% is still bad:

    team2# nice -7 sh -c "while :; do echo -n;done" &
    team2# sleep 120; top -S

      PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND
      705 root 133 -7 1576K 952K CPU0 0 1:53 100.78% 100.78% sh
      675 root 133 -7 1576K 952K RUN 1 12:12 51.56% 51.56% sh
      676 root 133 -7 1576K 952K RUN 1 11:30 49.22% 49.22% sh
      729 root 76 0 2148K 1184K CPU1 1 0:00 0.78% 0.78% top
       12 root -16 0 0K 12K RUN 0 24:00 0.00% 0.00% idle: cpu0
       11 root -16 0 0K 12K RUN 1 7:00 0.00% 0.00% idle: cpu1

    The box is a dual P133 running -current from 8th Dec.

    --
     :{ andyf@speednet.com.au
            Andy Farkas
        System Administrator
       Speednet Communications
     http://www.speednet.com.au/
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Mark Dixon: "Re: why support alpha??"

    Relevant Pages