From owner-freebsd-current Fri Nov 6 08:30:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA21255 for freebsd-current-outgoing; Fri, 6 Nov 1998 08:30:54 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from singularity.enigami.com (singularity.enigami.com [208.140.182.42]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA21233 for ; Fri, 6 Nov 1998 08:30:44 -0800 (PST) (envelope-from ckempf@singularity.enigami.com) Received: (from ckempf@localhost) by singularity.enigami.com (8.9.1/8.9.1) id LAA04103; Fri, 6 Nov 1998 11:30:32 -0500 (EST) To: freebsd-current@FreeBSD.ORG Subject: bad time slicing? Priorities? X-Copyright: Copyright (C) 1998 Cory Kempf. All Rights Reserved X-PGP-Fingerprint: 191E 2FB7 E27D 76C3 8E79 4D26 2B3B B20F 2A9C 1E1A X-PGP-Keyloc: ; finger ckempf@enigami.com From: Cory Kempf Date: 06 Nov 1998 11:30:32 -0500 Message-ID: Lines: 38 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a system running 3.0 SMP, with 2 333MHz PII's. On this system, I am running two copies of the Bovine RSA client (rc5des) (essentially two endless CPU bound tasks, niced down to 19) >From top: PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 23593 root 105 19 832K 344K RUN 0 23.4H 98.15% 98.15% rc5des 23726 root 105 19 832K 336K CPU1 0 22.7H 97.89% 97.89% rc5des We are not swapping, or anything else obvious. If I run xgalaga (a game), which is being run at nice=5 for some reason (not sure why, haven't looked into it), It doesn't seem to be getting enough CPU time. Play is jerky and slow. This isn't what I expected. Expecially with two CPUs to play with. The rc5des programs, should essentially not be running if higher priority things are waiting to run, right? Certainly with two CPUs, I would expect that the game would get time pretty much as soon as it was ready to run, while the other tasks would fight over what was left. So, do I just not understand how BSD does its scheduling? Or is there actually something wrong? Thanks, +C -- Thinking of purchasing RAM from the Chip Merchant? Please read this first: Cory Kempf Macintosh / Unix Consulting & Software Development ckempf@enigami.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message