From nobody Tue Oct 24 10:14:30 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SF7Fy6V8vz4xqmL for ; Tue, 24 Oct 2023 10:14:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SF7Fy4G8Qz3gdv for ; Tue, 24 Oct 2023 10:14:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698142470; a=rsa-sha256; cv=none; b=NDmwOoltUv3Cbh90EioK7FFExD+7PzGCcDZRNo5lhAsEl32SvfLkYbnrxio3I89+3zTHyQ hv4nlopb+8SUTOlGpO0PKotm5+PY/X3ojUPNpAT5xpL+059X1O93ZZ7vBnrivreJN+dHHq v/dhCWU8E2YzifVzF5S5uFwkcaseTJkTQ37s1aUtjbM3EEWgCFD2HAnWq6cvI5rdpgK+7q OBqti+X0of1iTDIJoT/BAFDFSalSAm8WZ9ZihxWc3EK2NThJL2Zn1Y/aYCZ3e94/7eAvSc F1T58F5XgMW94gq2/MO2zAkn5kEkae41PZ/2/KwZGfOyu1YVKaQhk7EZRLVgeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698142470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PlntFqJ5BGi3WXvL2Ff+RPrNSqezv37F5rZsydAbtzs=; b=fIhkO6MqUfGXMKHjdbMoUHLSKifDPKIoWz6PVaKxhyRnUvs5FgaOkBlHufFP4O8V/FdNZ6 kBcyozbmKtmS3V4DYVFOUQDW8VlsBf6kexNtuzLNto2L2NqHOJ28/q0++4gk9UEnIc75fp amgmftus6bTnx5Nrwiagj2y0DsrHE1z67AklTf0TmSJFNvmQHgjXONYfiKtlu6earyicqM LHMqQMViL+y/GI903YsLuF8+Z6ZpJTwQR1nJwbwbvv4zar4+EzzpkG9PZJtoNhliM4IWPi YZpn2Xfx7AQrkVg1AgmPGls93/7lSvyTmSUCER8Q/ptnjh6cn5AqLsmFgHgtPQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SF7Fy3JsHz3xH for ; Tue, 24 Oct 2023 10:14:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39OAEUBc004137 for ; Tue, 24 Oct 2023 10:14:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39OAEUcD004136 for bugs@FreeBSD.org; Tue, 24 Oct 2023 10:14:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 274690] performance degradation due to aslr Date: Tue, 24 Oct 2023 10:14:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bsdbugs_mr@pradmin.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274690 Bug ID: 274690 Summary: performance degradation due to aslr Product: Base System Version: 13.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: bsdbugs_mr@pradmin.ru Booting FreeBSD with default tunnables: kern.elf64.aslr.enable=3D1 vm.cluster_anon=3D1 vm.aslr_restarts: 0 xmrig hashrate: 1138 vm.aslr_restarts: 0 running some desktop software from ports tree (browsers, image editors, off= ice etc). CPU: 3,7% user, 0,0% nice, 2,0% system, 0,3% interrupt, 94,0% idle Mem: 3825M Active, 3338M Inact, 55M Laundry, 3237M Wired, 16K Buf, 3326M Fr= ee vm.aslr_restarts: 504 exiting from those programs. CPU: 0,5% user, 0,0% nice, 0,4% system, 0,0% interrupt, 99,1% idle Mem: 651M Active, 2013M Inact, 16K Laundry, 3147M Wired, 16K Buf, 7964M Free vm.aslr_restarts: 504 running xmrig to send different SIG* few times. xmrig: 1140 killall -SIGBUS xmrig xmrig: 1125 killall -SIGSEGV xmrig xmrig: 1128 running firefox killall -SIGSEGV firefox xmrig: 1115 vm.aslr_restarts: 600 CPU: 14,4% user, 0,0% nice, 1,5% system, 0,1% interrupt, 84,0% idle Mem: 3037M Active, 2388M Inact, 216K Laundry, 4310M Wired, 16K Buf, 4039M F= ree Second booting FreeBSD with tunnables: kern.elf64.aslr.enable=3D0 vm.cluster_anon=3D2 vm.aslr_restarts: 0 xmrig: 1193 vm.aslr_restarts: 0 running same desktop soft. CPU: 2,5% user, 0,0% nice, 0,8% system, 0,2% interrupt, 96,6% idle Mem: 3571M Active, 3510M Inact, 51M Laundry, 3326M Wired, 247K Buf, 3324M F= ree vm.aslr_restarts: 0 exitting from runned desktop soft. Running only firefox and chrome to send = them SIGSEGV few times. killall -SIGSEGV firefox killall -SIGSEGV chrome CPU: 0,4% user, 0,0% nice, 0,4% system, 0,0% interrupt, 99,2% idle Mem: 469M Active, 2436M Inact, 528K Laundry, 3174M Wired, 247K Buf, 7701M F= ree vm.aslr_restarts: 0 xmrig: 1186 --=20 You are receiving this mail because: You are the assignee for the bug.=