Return-Path: william@bourbon.usc.edu Delivery-Date: Fri Oct 31 17:35:05 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id mA10Z5KZ024016 for ; Fri, 31 Oct 2008 17:35:05 -0700 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id mA10ksOn005176 for ; Fri, 31 Oct 2008 17:46:54 -0700 Message-Id: <200811010046.mA10ksOn005176@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: busy-waiting Date: Fri, 31 Oct 2008 17:46:54 -0700 From: Bill Cheng Someone wrote: > You just mentioned that our program shouldn't appear on TOP. > However, my program only uses 0.05% and still on TOP. If you only use 0.05% of the *CPU*, your job will not stay there very long! Remember, the rule is that it needs to stay over 1% for over 10 seconds. > Where is the very easy way to fix it that you said in the previous email? > I tried to find it but no luck. 0.05% is probably normal. -- Bill Cheng // bill.cheng@usc.edu