From owner-freebsd-current@FreeBSD.ORG Fri Dec 21 12:56:11 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 078D9C3F for ; Fri, 21 Dec 2012 12:56:11 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bk0-f44.google.com (mail-bk0-f44.google.com [209.85.214.44]) by mx1.freebsd.org (Postfix) with ESMTP id 7E0558FC0C for ; Fri, 21 Dec 2012 12:56:10 +0000 (UTC) Received: by mail-bk0-f44.google.com with SMTP id w11so2335622bku.17 for ; Fri, 21 Dec 2012 04:56:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=KPJvhCeBNi6grvwIp5vCfKpKKc2KfOlqY+uWoH38ScM=; b=ADHSR2oqUT/DbVh/X+1FFnifAaFAuuJRc8oKzte+onVsNmQ5/2hrAU2BTYBK/KQkIU RnZUdAnZkDChj8KvzvEXHx+cdVk+Ll8oofqSx053H3kYVOo3zP1YJPtYtzXVxnEaetce IPabCAOtdsRPIGmAeILkjiypFKy4wwQ/IgihbJdQwsmHROGtXT8u41A2VCMXHmIg1RAc 5x2oQt2ZS3XWEaQHCTbCMg6oI05nYN75FPuqiQ3seQwkwceTFamrqXZdqqOkLq6Txesq Mhd9cEhJma73g3lFWmQguVO2ZV/AXkP3HxTq2l7hRooioiPyRtSI1cqQ8Ic0MtOVtXBq w7LQ== X-Received: by 10.204.3.220 with SMTP id 28mr6286368bko.50.1356094160078; Fri, 21 Dec 2012 04:49:20 -0800 (PST) Received: from mavbook.mavhome.dp.ua (mavhome.mavhome.dp.ua. [213.227.240.37]) by mx.google.com with ESMTPS id o7sm9856877bkv.13.2012.12.21.04.49.18 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Dec 2012 04:49:19 -0800 (PST) Sender: Alexander Motin Message-ID: <50D45ACC.40608@FreeBSD.org> Date: Fri, 21 Dec 2012 14:49:16 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120628 Thunderbird/13.0.1 MIME-Version: 1.0 To: Fabian Keil Subject: Re: [RFC/RFT] calloutng References: <50CCAB99.4040308@FreeBSD.org> <50CE5B54.3050905@FreeBSD.org> <50D03173.9080904@FreeBSD.org> <20121220115629.3379a261@fabiankeil.de> <50D2F923.2020303@FreeBSD.org> <20121220142600.22c4796a@fabiankeil.de> <50D3201F.4080605@FreeBSD.org> <20121220191243.7cd00b2a@fabiankeil.de> <20121221131601.0d3ce382@fabiankeil.de> In-Reply-To: <20121221131601.0d3ce382@fabiankeil.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 21 Dec 2012 12:56:11 -0000 On 21.12.2012 14:16, Fabian Keil wrote: > Fabian Keil wrote: > >> Alexander Motin wrote: >> >>> On 20.12.2012 15:26, Fabian Keil wrote: >>>> Alexander Motin wrote: >>>> >>>>> On 20.12.2012 12:56, Fabian Keil wrote: >>>>>> Alexander Motin wrote: >>>>>> >>>>>>> Experiments with dummynet shown ineffective support for very short >>>>>>> tick-based callouts. New version fixes that, allowing to get as many >>>>>>> tick-based callout events as hz value permits, while still be able to >>>>>>> aggregate events and generating minimum of interrupts. >>>>>>> >>>>>>> Also this version modifies system load average calculation to fix some >>>>>>> cases existing in HEAD and 9 branches, that could be fixed with new >>>>>>> direct callout functionality. >>>>>>> >>>>>>> http://people.freebsd.org/~mav/calloutng_12_17.patch >>>>>> >>>>>> With this patch (and the previous one, I didn't test the others) >>>>>> my mouse cursor is occasionally not reacting for short amounts of >>>>>> time (less than a second, but long enough to be noticeable). >> >>>>> Could you try to revert part of the patch, related to dev/atkbdc? I am >>>>> not strong in details of that hardware, but in comments there mention >>>>> that they are related. May be lost keyboard interrupts (which polling >>>>> rate was increased to 1 second) cause PS/2 mouse delays. >>>> >>>> I reverted the changes to sys/dev/atkbdc/* about an hour ago >>>> and so far it's looking good. I'll report back tomorrow after >>>> some more testing. > > Still looking good. Thank you. I think it may be some locking issue in atkbdc code. I'll revert that part of the patch until somebody rewrite it properly. -- Alexander Motin