From owner-freebsd-current@FreeBSD.ORG Mon Dec 24 09:53:56 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D17FA16A421 for ; Mon, 24 Dec 2007 09:53:56 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by mx1.freebsd.org (Postfix) with ESMTP id CCCB113C469 for ; Mon, 24 Dec 2007 09:53:55 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so2342654fka.11 for ; Mon, 24 Dec 2007 01:53:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=FfQnpwVm5T0KPeNW+xCu321BQoL0CI9mxTAMYktJdSk=; b=thTVdeXkyj8Eg3TTVMBU2R08te9EDtnuGnHYDJQxDqrThKL7IJ/MWfZ6JaXruZVgIsOvRAZH9kiqzxQbf4LH692Cu1vr78AMmZ8vyeeixnpdyM8c7SOxm7AD4IjfIJWX/SU8OcptSQnXemvzfiy2mJfiiAl0cE86qvT2wMmfTwA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=F5/eD55Fm+ADLSx/7GvfW5dwObfkR+vFi5WBveMmkDiUBUGrwhCA4Jqs5VR94qca7LlfZYNoVr3Bip0pwxaEP8JqlliZ7pO+EgBSaNOTLesTikHRnGFE0MmIuJvDEgctC2Zvi7A1qsV83oXNUHOpgGe4ZHOlt+YybEvr+nGs2eQ= Received: by 10.78.137.7 with SMTP id k7mr5252050hud.68.1198490033992; Mon, 24 Dec 2007 01:53:53 -0800 (PST) Received: from ip4da3ae31.direct-adsl.nl.0.163.77.in-addr.arpa ( [77.163.174.49]) by mx.google.com with ESMTPS id f4sm16121706nfh.31.2007.12.24.01.53.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 24 Dec 2007 01:53:53 -0800 (PST) Message-ID: <476F81AF.7000505@gmail.com> Date: Mon, 24 Dec 2007 10:53:51 +0100 From: Rene Ladan User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Peter Jeremy References: <20071223092332.GJ25002@server.vk2pj.dyndns.org> In-Reply-To: <20071223092332.GJ25002@server.vk2pj.dyndns.org> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: idle priority scheduling broken in 7.0-BETA4 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2007 09:53:56 -0000 Peter Jeremy schreef: > In August, I reported that idprio was not working in -current. > Successive upgrades to 7.0-BETA2 and 7.0-BETA4, as well as switching > to ULE have not resolved the problem. > > The problem affects both boinc-einsteinathome and boinc-setiathome and > causes them to report "No heartbeat from core client for 31 sec - > exiting" and get repeatedly restarted. The boinc compute modules > (einstein@home, seti@home etc) use a SysV SHM segment to exchange > heartbeats with the boinc core client. The problem is that the core > client is not being scheduled whilst the compute module is running, > causing them to die. > > Previously, multiple idprio tasks were round-robined but it seems that > something has been changed and it appears that the last scheduled task > is now re-scheduled. > > Has anyone else seen this behaviour? > On my CURRENT 2007-12-23 dualcore (Intel T5600) i386 I get similar behaviour when using the ULE scheduler. With the 4BSD scheduler priorities are sometimes wrong, but boinc tasks (einstein,seti,simap) run continuously until preempted, they are kept in memory. last pid: 8141; load averages: 2.03, 2.14, 2.18 up 0+20:48:27 10:51:54 146 processes: 7 running, 120 sleeping, 19 waiting CPU states: % user, % nice, % system, % interrupt, % idle Mem: 373M Active, 1040M Inact, 223M Wired, 17M Cache, 112M Buf, 349M Free Swap: 4062M Total, 4062M Free PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 7315 boinc 171 i31 65960K 64904K CPU1 1 187:57 62.89% {einstein_S5R3_4. 7859 boinc 171 i31 13680K 12552K RUN 0 71:31 60.16% {simap_5.10_i686- 7859 boinc 20 i31 13680K 12552K kserel 0 71:31 10.45% {simap_5.10_i686- 5168 boinc 8 i31 41960K 37564K nanslp 0 205:14 0.00% {initial thread} 5168 boinc 8 19 41960K 37564K nanslp 0 205:14 0.00% {setiathome-5.27. 7315 boinc 20 i31 65960K 64904K ksesig 0 187:57 0.00% {einstein_S5R3_4. 7315 boinc 20 i31 65960K 64904K kserel 0 187:57 0.00% {einstein_S5R3_4. 7859 boinc 20 i31 13680K 12552K ksesig 0 71:31 0.00% {simap_5.10_i686- 22403 boinc 171 i31 9572K 6700K select 1 0:32 0.00% boinc_client Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001