From owner-freebsd-performance@FreeBSD.ORG Tue Nov 29 11:24:42 2005 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0384C16A41F for ; Tue, 29 Nov 2005 11:24:42 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: from maritaca.epm.br (disrouter.epm.br [200.17.25.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44EDB43D4C for ; Tue, 29 Nov 2005 11:24:40 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: from localhost (localhost.localdomain [127.0.0.1]) by maritaca.epm.br (Postfix) with ESMTP id B8DCE3AC2 for ; Tue, 29 Nov 2005 09:24:38 -0200 (BRDT) Received: from [172.22.1.166] (ricardo.epm.br [172.22.1.166]) by maritaca.epm.br (Postfix) with ESMTP id 8D6113AB4 for ; Tue, 29 Nov 2005 09:24:34 -0200 (BRDT) Message-ID: <438C3A57.9020507@yahoo.com.br> Date: Tue, 29 Nov 2005 09:24:07 -0200 From: "Ricardo A. Reis" User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051122) X-Accept-Language: en-us, en MIME-Version: 1.0 To: performance@freebsd.org References: <23B6BBC5.F5C7C9B@mails.de> In-Reply-To: <23B6BBC5.F5C7C9B@mails.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit UNIFESP-Virus-Scanned: by amavisd-new at dis.epm.br Cc: Subject: Re: Libmicro!! pthread_create Resource temporarily unavailable X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2005 11:24:42 -0000 >the pthread_create benchmark is trying to create 20000 threads, the >default allowed number is 1500. Hi, I increase default limits for *per_proc for 40000 sysctl -a |grep threads kern.threads.thr_concurrency: 0 kern.threads.thr_scope: 0 kern.threads.virtual_cpu: 2 kern.threads.max_threads_hits: 0 kern.threads.max_groups_per_proc: 40000 kern.threads.max_threads_per_proc: 40000 kern.threads.debug: 0 vm.stats.vm.v_kthreads: 69 But this not solution, Thanks Ricardo A. Reis UNIFESP Unix and Network Admin