From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gMZNIA+Ym2LY8wAAbAwnHQ (envelope-from ) for ; Sat, 04 Jun 2022 19:36:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uP87IA+Ym2IGaAEAauVa8A (envelope-from ) for ; Sat, 04 Jun 2022 19:36:15 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EC47645A66 for ; Sat, 4 Jun 2022 19:36:14 +0200 (CEST) Received: from localhost ([::1]:41096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxXh7-0002ah-Jp for larch@yhetil.org; Sat, 04 Jun 2022 13:36:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxXgw-0002aQ-9n for bug-guix@gnu.org; Sat, 04 Jun 2022 13:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37478) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nxXgw-0003uR-0u for bug-guix@gnu.org; Sat, 04 Jun 2022 13:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nxXgv-0005bk-PV for bug-guix@gnu.org; Sat, 04 Jun 2022 13:36:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55488: bug#55707: syslogd logging kernel messages slowly? Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 04 Jun 2022 17:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55488 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Luis Felipe Cc: 55707@debbugs.gnu.org, 55488@debbugs.gnu.org Received: via spool by 55488-submit@debbugs.gnu.org id=B55488.165436416021540 (code B ref 55488); Sat, 04 Jun 2022 17:36:01 +0000 Received: (at 55488) by debbugs.gnu.org; 4 Jun 2022 17:36:00 +0000 Received: from localhost ([127.0.0.1]:59606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxXgt-0005bL-Mh for submit@debbugs.gnu.org; Sat, 04 Jun 2022 13:35:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxXgp-0005b4-Up; Sat, 04 Jun 2022 13:35:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56228) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxXgk-0003uD-G0; Sat, 04 Jun 2022 13:35:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=cM/vlt+TKGFnJBT9vyJPZke3TgP+NhLuuUPPMijX63Q=; b=Wr6rKkaU6/F6B5WZibBr 87bY2IrkKxkCKjZze/Hi3Pe7gJ5VyOd+2kG+otNd3TiFQ8Lfz9lLLgcqFs4ey4y4ySgodODC2J3gh Ys3fpeTqJVovqw50umLTy7SiVtw+0fhoS02R1zeIFjRjdMClIfksz6L9vvkmbJCbOhhiVX6m4SS8J b6IXxUX7czpZs+5bqVHuUddiU3neU7RRqSjOSIczzqMv+sf1NLWjrPoat7sRzdzNa/CuZPHi7ixqU O8i3v+PgErNNEKmCZljsACcoQZEMHOZwRQTi9HpDXZVJ31TthsYX0IdoO6jOMPiJbgciJV+MnK8Ij M5CqjXMj3jGKpQ==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57982 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxXgd-0006mY-VX; Sat, 04 Jun 2022 13:35:46 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <-ERAqngkTp_rn5o9bawg5LQaV0bIQaYkKKbA55nOcyAHmZA88EsuHxKdIrt7k6pauSeGlZH47uE68OXt-xpG_z6yZPs_VCu1qLw_N3Yp9WY=@protonmail.com> <87k0aj44dd.fsf@gnu.org> <87ilpmyrr1.fsf@gnu.org> <87sfootayu.fsf@gnu.org> <87o7zalqxw.fsf@gnu.org> <87wndxfjcw.fsf@gnu.org> <878rqcfjcn.fsf@gnu.org> Date: Sat, 04 Jun 2022 19:35:42 +0200 In-Reply-To: <878rqcfjcn.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 04 Jun 2022 19:07:20 +0200") Message-ID: <874k10fi1d.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654364175; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=cM/vlt+TKGFnJBT9vyJPZke3TgP+NhLuuUPPMijX63Q=; b=OnMMRrqiv2esUNl0JtWFCzhKkIoUZ05Mb2N3cdCl5EO8ms/arZAo/68uXplGrt/KDkSKf3 NHspLgnCiMoDA1wkQg3GsaiR4/ny1Ev6SjYHJ465Qam4kqVysI7jS0uFBhistFmdZ/zE+W KIrJsrZrpy9RQc0tveYCB0RRZneLFgGfnmwyzwWB/M3NDJChThHLx2UnsAJBWLfoLbFPRW LipbpYPkPRIG2922rFIh7esUtme+PF7j/aOI42XOSQqKgNEgJGz82W4WioYYIay5siCrcZ KxUqilCeUzrRSjIFuS4ow5jKiDX8WaE6PnnDRdez8kJ6SqBgK1Da9Rjw+sQfHg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654364175; a=rsa-sha256; cv=none; b=AfRLXXlkP5RAksyAC5I+9vFBI9XzbkPvYXj+TxNI9btkADgJv3jFpNdGZpkWlPV52yFjNS y3mdWrRZxglZp2fHsjXzbDAec0NdXKJ3OTiIAdPyp8g4k+NyWX2453Rdwv7fCpdTA3oNOF c9pWHSn3J9NULZCsASGTIx4Sez5IommtaulQYJgIZQpuOvIU+HdbPS1zM8nDdNOG5ycaAM Jwytm/aVKLlEE0BtpS9W/rSSIePsyFxcXEi2S9GHNqgugWjnbC0BHYQ3+ErKO8M2EkvbKK Gve5fAUpCNzggHPNv/YZE/QQMKRPYkRpsQq+COdSk+um5v4u6PTyDrSvCjRHQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Wr6rKkaU; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Wr6rKkaU; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EC47645A66 X-Spam-Score: -2.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: pWVRyZArgVtM Ludovic Court=C3=A8s skribis: > 1. Use =E2=80=98fdatasync=E2=80=99 rather than =E2=80=98fsync=E2=80=99; Turns out =E2=80=98fdatasync=E2=80=99 is about as expensive: --8<---------------cut here---------------start------------->8--- 1234:301 19:22:00 fdatasync(6) =3D 0 <0.398749> 1236:301 19:22:01 fdatasync(5) =3D 0 <0.198520> 1243:301 19:22:01 fdatasync(6) =3D 0 <0.231935> 1245:301 19:22:01 fdatasync(5) =3D 0 <0.183503> 1252:301 19:22:01 fdatasync(6) =3D 0 <0.230854> 1254:301 19:22:02 fdatasync(5) =3D 0 <0.248839> 1261:301 19:22:02 fdatasync(6) =3D 0 <0.181513> 1263:301 19:22:02 fdatasync(5) =3D 0 <0.141267> 1270:301 19:22:02 fdatasync(6) =3D 0 <0.131548> 1272:301 19:22:02 fdatasync(5) =3D 0 <0.124369> 1279:301 19:22:02 fdatasync(6) =3D 0 <0.121414> --8<---------------cut here---------------end--------------->8--- Tested with: --8<---------------cut here---------------start------------->8--- (define inetutils/fdatasync (package/inherit inetutils (version (string-append (package-version inetutils) ".fdatasync")) (source (origin (inherit (package-source inetutils)) (modules '((guix build utils))) (snippet '(substitute* "src/syslogd.c" (("fsync") "fdatasync"))))))) --8<---------------cut here---------------end--------------->8--- It still makes more sense than =E2=80=98fsync=E2=80=99 though. Ludo=E2=80=99.