From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32121 invoked by alias); 16 Dec 2005 02:24:56 -0000 Received: (qmail 32112 invoked by uid 22791); 16 Dec 2005 02:24:54 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 16 Dec 2005 02:24:52 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 1A7EF1D8F7; Fri, 16 Dec 2005 03:24:45 +0100 (CET) Date: Fri, 16 Dec 2005 03:02:00 -0000 From: Andi Kleen To: James Dickens Cc: Andi Kleen , Martin Hunt , "systemtap@sources.redhat.com" Subject: Re: DTrace for Linux Message-ID: <20051216022440.GQ23384@wotan.suse.de> References: <1134603159.3951.33.camel@monkey2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2005-q4/txt/msg00455.txt.bz2 > gettimeofday 32490 > llseek 47045 > access 94997 > gtime 111993 > fstat64 129067 > lseek 209131 > select 276210 > alarm 916786 > stat64 1093732 > fcntl64 1143852 > getdents64 1625671 > rt_sigaction 2227934 > write 2336432 > close 2749497 > read 5171047 > open 5569743 This looks about expected. top uses /proc a lot and /proc is very open/read/close/getdents64 intensive. I suppose the writes are the console output. Why it uses rt_sigaction that often I don't know but normally this call should be fairly cheap - at least it is on Linux AFAIK. Your numbers suggest it isn't quite on Solaris (it takes a lot of time for not that many calls), perhaps that is one area where the Sun folks can still improve. -Andi