Welcome! Log In Create A New Profile

Advanced

[nginx] Configure: set cache line size for more architectures.

Sergey Kandaurov
March 27, 2024 01:50PM
details: https://hg.nginx.org/nginx/rev/427aa785edf8
branches:
changeset: 9232:427aa785edf8
user: Sergey Kandaurov <pluknet@nginx.com>
date: Wed Mar 27 19:36:51 2024 +0400
description:
Configure: set cache line size for more architectures.

Based on a patch by Piotr Sikora.

diffstat:

auto/os/conf | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)

diffs (25 lines):

diff -r 61cd12c25878 -r 427aa785edf8 auto/os/conf
--- a/auto/os/conf Mon Feb 26 20:00:40 2024 +0000
+++ b/auto/os/conf Wed Mar 27 19:36:51 2024 +0400
@@ -115,6 +115,21 @@ case "$NGX_MACHINE" in
NGX_MACH_CACHE_LINE=64
;;

+ ppc64* | powerpc64*)
+ have=NGX_ALIGNMENT value=16 . auto/define
+ NGX_MACH_CACHE_LINE=128
+ ;;
+
+ riscv64)
+ have=NGX_ALIGNMENT value=16 . auto/define
+ NGX_MACH_CACHE_LINE=64
+ ;;
+
+ s390x)
+ have=NGX_ALIGNMENT value=16 . auto/define
+ NGX_MACH_CACHE_LINE=256
+ ;;
+
*)
have=NGX_ALIGNMENT value=16 . auto/define
NGX_MACH_CACHE_LINE=32
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Configure: set cache line size for more architectures.

Sergey Kandaurov 252 March 27, 2024 01:50PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 121
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready