From owner-freebsd-amd64@FreeBSD.ORG Sat Apr 1 14:34:33 2006 Return-Path: X-Original-To: amd64@freebsd.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF7E116A41F; Sat, 1 Apr 2006 14:34:33 +0000 (UTC) (envelope-from root@scienceclue.ath.cx) Received: from scienceclue.ath.cx (mic92-1-87-90-12-116.dsl.club-internet.fr [87.90.12.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 158D243D46; Sat, 1 Apr 2006 14:34:32 +0000 (GMT) (envelope-from root@scienceclue.ath.cx) Received: from scienceclue.ath.cx (localhost [127.0.0.1]) by scienceclue.ath.cx (8.13.4/8.13.4) with ESMTP id k31EYVHk002077; Sat, 1 Apr 2006 16:34:31 +0200 (CEST) (envelope-from root@scienceclue.ath.cx) Received: (from root@localhost) by scienceclue.ath.cx (8.13.4/8.13.4/Submit) id k31EYPA4002076; Sat, 1 Apr 2006 16:34:25 +0200 (CEST) (envelope-from root) Date: Sat, 1 Apr 2006 16:34:25 +0200 From: Mathieu Prevot To: stable@freebsd.org Message-ID: <20060401143425.GA1305@scienceclue.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: amd64@freebsd.org Subject: 6.1 responsiveness under heavy (cpu?) load + thread monitoring X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mathieu Prevot List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2006 14:34:33 -0000 Hello, I have a RELENG_6/AMD64 with an AMD64X2 cpu, 1GB of memory, 512MB swap. I remarked that when I run 2 simulation program [1], sometimes, one of them run one or several of its threads [2] very slowly, but sometimes, it doesn't occur. I remarked that is doesn't depend on SMP/UP, ULE/4BSD, i386/AMD64. It seems to occur also with the kernel stress test under the same conditions (all of them). In this case, the mouse is blocked, etc. I tested different kernels, and recorded the output of sysctl vm [3]. I increased vm.swap_async_max but this doesn't change the deal /a priori/. All that didn't occur with a Sempron64. All was slower but the mouse didn't blocked etc. This was a time ago, I may be wrong. It seems to be an architecture problem (??). I can give more quantitative data, but I need help to focus the tests... Mathieu [1] http://ising.podzone.org/src/ising_lps_0.4.tar.bz2 [2] void *interface(void *arg) can be very slow, void *system_trace(void *arg) can exit during a very long time (terminated ? detached: it should). [3] http://ising.podzone.org/vm/vm_amd64.tar.bz2 and others in this directory PS: does FreeBSD allow monitoring threads of a program in real time ? I didn't find anything for freebsd.