Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261961AbVAYOj0 (ORCPT ); Tue, 25 Jan 2005 09:39:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261962AbVAYOj0 (ORCPT ); Tue, 25 Jan 2005 09:39:26 -0500 Received: from mail15.syd.optusnet.com.au ([211.29.132.196]:28601 "EHLO mail15.syd.optusnet.com.au") by vger.kernel.org with ESMTP id S261961AbVAYOjC (ORCPT ); Tue, 25 Jan 2005 09:39:02 -0500 Message-ID: <41F659CD.9070904@kolivas.org> Date: Wed, 26 Jan 2005 01:38:05 +1100 From: Con Kolivas User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Con Kolivas Cc: "Jack O'Quin" , Alexander Nyberg , Ingo Molnar , linux , CK Kernel , Rui Nuno Capela Subject: Re: [PATCH]sched: Isochronous class v2 for unprivileged soft rt scheduling References: <200501201542.j0KFgOwo019109@localhost.localdomain> <87y8eo9hed.fsf@sulphur.joq.us> <20050120172506.GA20295@elte.hu> <87wtu6fho8.fsf@sulphur.joq.us> <20050122165458.GA14426@elte.hu> <87pszvlvma.fsf@sulphur.joq.us> <41F42BD2.4000709@kolivas.org> <877jm3ljo9.fsf@sulphur.joq.us> <41F44AC2.1080609@kolivas.org> <87hdl7v3ik.fsf@sulphur.joq.us> <87651nv356.fsf@sulphur.joq.us> <87ekgbqr2a.fsf@sulphur.joq.us> <41F49735.5000400@kolivas.org> <873bwrpb4o.fsf@sulphur.joq.us> <41F57D94.4010500@kolivas.org> <41F5C347.4030605@kolivas.org> <41F64410.4000702@kolivas.org> In-Reply-To: <41F64410.4000702@kolivas.org> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6359AF205C4D211A19F49F1E" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3817 Lines: 99 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6359AF205C4D211A19F49F1E Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Con Kolivas wrote: > There were numerous bugs in the SCHED_ISO design prior to now, so it > really was not performing as expected. What is most interesting is that > the DSP load goes to much higher levels now if xruns are avoided and > stay at those high levels. If I push the cpu load too much so that they > get transiently throttled from SCHED_ISO, after the Xrun the dsp load > drops to half. Is this expected behaviour? > > Anyway the next patch works well in my environment. Jack, while I > realise you're getting the results you want from Ingo's dropped > privilege, dropped cpu limit patch I would appreciate you testing this > patch. It is not clear yet what direction we will take, but even if we > dont do this, it would be nice just because of the effort on my part. > > This version of the patch has full priority support and both ISO_RR and > ISO_FIFO. > > This is the patch to apply to 2.6.11-rc2-mm1: > http://ck.kolivas.org/patches/SCHED_ISO/2.6.11-rc2-mm1/2.6.11-rc2-mm1-iso-prio-fifo.diff Just for completeness, benchmarks: logs and pretty pictures: http://ck.kolivas.org/patches/SCHED_ISO/iso3-benchmarks/ SCHED_ISO: Total seconds ran . . . . . . : 300 Number of clients . . . . . . : 10 Ports per client . . . . . . : 4 Frames per buffer . . . . . . : 64 Number of runs . . . . . . . :( 3) Timeout Count . . . . . . . . :( 0) XRUN Count . . . . . . . . . : 0 Delay Count (>spare time) . . : 0 Delay Count (>1000 usecs) . . : 0 Delay Maximum . . . . . . . . : 150 usecs Cycle Maximum . . . . . . . . : 725 usecs Average DSP Load. . . . . . . : 32.3 % Average CPU System Load . . . : 6.0 % Average CPU User Load . . . . : 33.6 % Average CPU Nice Load . . . . : 0.0 % Average CPU I/O Wait Load . . : 0.1 % Average CPU IRQ Load . . . . : 0.1 % Average CPU Soft-IRQ Load . . : 0.0 % Average Interrupt Rate . . . : 1758.9 /sec Average Context-Switch Rate . : 9208.7 /sec and SCHED_ISO in the presence of continuous compile: Total seconds ran . . . . . . : 300 Number of clients . . . . . . : 10 Ports per client . . . . . . : 4 Frames per buffer . . . . . . : 64 Number of runs . . . . . . . :( 3) Timeout Count . . . . . . . . :( 0) XRUN Count . . . . . . . . . : 0 Delay Count (>spare time) . . : 0 Delay Count (>1000 usecs) . . : 0 Delay Maximum . . . . . . . . : 375 usecs Cycle Maximum . . . . . . . . : 726 usecs Average DSP Load. . . . . . . : 35.8 % Average CPU System Load . . . : 15.1 % Average CPU User Load . . . . : 82.9 % Average CPU Nice Load . . . . : 0.0 % Average CPU I/O Wait Load . . : 1.8 % Average CPU IRQ Load . . . . : 0.2 % Average CPU Soft-IRQ Load . . : 0.0 % Average Interrupt Rate . . . : 1772.6 /sec Average Context-Switch Rate . : 9565.2 /sec Cheers, Con --------------enig6359AF205C4D211A19F49F1E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB9lnNZUg7+tp6mRURAlWkAJ0R0DqXx+rV0xWNP5BQ517i/AVXngCfeB0p rU4+WPKpOEu7UQzs6Ro/N20= =z66c -----END PGP SIGNATURE----- --------------enig6359AF205C4D211A19F49F1E-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/