From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Howard Arnold Newsgroups: gmane.os.tru64.managers Subject: Update to CPU Performance Date: Wed, 1 Jun 2005 02:43:31 +0000 (UTC) Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1117593811 31606 80.91.229.2 (1 Jun 2005 02:43:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2005 02:43:31 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Jun 01 04:43:20 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1DdJBx-0002l1-Ek for gotm-tru64-unix-managers@gmane.org; Wed, 01 Jun 2005 04:42:49 +0200 Original-Received: (qmail 29036 invoked by uid 49509); 1 Jun 2005 02:45:24 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 28978 invoked by uid 49501); 1 Jun 2005 02:45:24 -0000 Original-Received: from 160.91.86.17 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.86.17):SA:0(-0.6/5.0):. Processed in 1.416444 secs); 01 Jun 2005 02:45:24 -0000 X-Spam-Status: No, hits=-0.6 required=5.0 Original-Received: from emroute2.cind.ornl.gov (160.91.86.17) by sws1.ornl.gov with SMTP; 1 Jun 2005 02:45:23 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IHD007OVWZM8E@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 31 May 2005 22:45:22 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0IHD00F02WYKAV@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 31 May 2005 22:44:52 -0400 (EDT) Original-Received: from unix2.broadviewnet.net (unix2.broadviewnet.net [64.115.0.6]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with SMTP id <0IHD00DJ8WYJ3R@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 31 May 2005 22:44:43 -0400 (EDT) Original-Received: (qmail 9376 invoked by uid 32008); Tue, 31 May 2005 22:44:46 -0400 Original-Received: from unknown (HELO healtnew) (64.61.117.234) by unix2.broadviewnet.net with SMTP; Tue, 31 May 2005 22:44:46 -0400 Original-Date: Wed, 20 Jul 2005 22:44:47 -0400 Original-To: Tru64-Unix-Managers X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Envelope-From: X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on email.cind.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00,DATE_IN_FUTURE_96_XX autolearn=no version=3.0.3 Xref: news.gmane.org gmane.os.tru64.managers:8330 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:8330 I wanted to thank everyone for their quick responses. Most indicated tools like dcpi, kprofile, and uprofile for profiling the application. I just wanted to follow up on a few things I did and the response I got. This application was moved over from an 8400 with HSZ70 based storage so it had multiple spindles defined to help with the I/O performance. It is now running on an GS1280 connected to a XP128. We laid out the storage with multiple disk luns thinking that it was mostly I/O, but since the storage is so much faster we found that it is now CPU bound since pieces of the application are only running on a single CPU. We are benchmarking only a single instance of the application so as more instances are brought online the other CPU's will become utilized. One thing that I don't understand is if I run the application creating multiple mount points using a single disk with 5 partitions I get a much faster response time than if I run the application using 5 separate disks with a single mount point off each disk. I get almost a 25% better time using the single disk. While the application is running I have been running collect -sc and with the single disk I get a shorter wait time than when I run the application with the 5 disks. I have also run monitor and I found that with the 5 disks the Device Interrupts are almost 100 percent higher than with the single disk. This also goes with the context switches which I am seeing as high as 10000/s with the 5 disks. Does it make since that since the CPU is being used so close to 100% that it doesn't have time to answer the Device Interrupts from having multiple disk slowing the application down even more? One of the warnings of sys_check indicated that I should up the round_robin_switch_rate to 40 from 0. Does any one think that this will help and if so do I need to reboot to set this? I did find that the advfsd was running and I shut that down which did give me better performance on the single disk benchmark. It didn't have any effect on the multiple disk benchmark. This is a little confusing because I always thought that the more you could spread out an application over multiple disk the better performance. Thanks, Howard Arnold Consultant Engineer Email: arnoldh@celerent.com Phone: (603)685-6060 ext. 206 Original Question: I have an application that will run on only one CPU at a time and when it runs it using 100 percent of the CPU. There is very little I/O going on. What I would like to do is see if there is anyway to improve the performance of the CPU? I'm running on a GS1280 now so I can't get new hardware and I know it is a poorly written application I just want to get the most out of the CPU. Are there any tools that would tell me what the application is spending most of it's time doing so that I may be able to make some sysconfig changes to get a little more performance? To test the performance I run a report and the first time I run this it takes 20 minutes. The second and ever time after this it takes only 12 minutes to run. I assume this is because it is loaded into cache. I umount the filesystem and remount it I go back to the initial 20 minute run. Would modifying any of the max user or UBC buffer sizes have any performance gains. I know this is not much to go on, but I was just wondering if anyone else had a CPU bound application and found a way to get a little more performance out of the CPU. I don't think the vender is willing to spend the time making the application able to run on multiple CPU's so I'm stuck doing what I can do with what I have.