Logo
Explore Help
Register Sign In
rms/VictoriaMetrics
1
0
Fork 0
You've already forked VictoriaMetrics
mirror of https://github.com/VictoriaMetrics/VictoriaMetrics.git synced 2026-05-17 08:36:55 +03:00
Code Issues Packages Projects Releases Wiki Activity
Files
11f488d8ff7dfd30d1d4ef9e25d4e148adacf8e6
VictoriaMetrics/lib/atomicutil
History
Aliaksandr Valialkin 539498058e lib/atomicutil: add CacheLineSize const equal to the size of CPU cache line, and use this const for padding against false sharing across the code base
This should reduce the waste of memory on the padding from 128 bytes to 64 bytes on GOARCH=amd64,
while preserving bigger padding for platforms with bigger cache line sizes.

See https://stackoverflow.com/questions/68320687/why-are-most-cache-line-sizes-designed-to-be-64-byte-instead-of-32-128byte-now

Thanks to @tIGO for the hint
2025-06-06 10:21:40 +02:00
..
cacheline.go
lib/atomicutil: add CacheLineSize const equal to the size of CPU cache line, and use this const for padding against false sharing across the code base
2025-06-06 10:21:40 +02:00
slice_test.go
lib/atomicutil: rename Slice.GetSlice to Slice.All for the sake of better readability
2025-04-30 16:13:57 +02:00
slice_timing_test.go
lib/atomicutil: rename Slice.GetSlice to Slice.All for the sake of better readability
2025-04-30 16:13:57 +02:00
slice.go
lib/atomicutil: add CacheLineSize const equal to the size of CPU cache line, and use this const for padding against false sharing across the code base
2025-06-06 10:21:40 +02:00
uint64.go
lib/atomicutil: add CacheLineSize const equal to the size of CPU cache line, and use this const for padding against false sharing across the code base
2025-06-06 10:21:40 +02:00
Powered by Gitea Version: 1.25.5 Page: 385ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API