Comments (2)
Is there a measurable difference in the performance tests if the global variables are in the .data section or the .bss section?
The latest gcc stable release is gcc 13.2 (https://gcc.gnu.org/releases.html)
from byte-unixbench.
Is there a measurable difference in the performance tests if the global variables are in the .data section or the .bss section?
The latest gcc stable release is gcc 13.2 (https://gcc.gnu.org/releases.html)
- I tried to test with dhry_1.c and dhry_2.c in 13.2: when using -fno-common the performance is around 9200, but with -fcommon the performance is above 9500. After the global non-static variables in dhry_1.c are initialized and -fcommon is used, the performance returns to 9200. On gcc 10.3 the difference in performance is sometimes greater than 10%.
- By the way: I was using Intel Sapphire Rapids when it comes to the CPU architecture. This problem may not exist on other architectures.
- I mean, is it possible to unify here: 1. Initialize global non-static variables; 2. Explicitly use -fno-common during compilation.
from byte-unixbench.
Related Issues (20)
- exit the test program when execute multi parallel copies of tests, why? HOT 3
- I wanna use unixbench to test my own libm. HOT 3
- Run: "Execl Throughput": *** buffer overflow detected ***: terminated; aborting HOT 2
- -q option unsupported, using clang on MacOS HOT 2
- where could be found that ubgears program? HOT 2
- some problems on Ubuntu 20.04 HOT 1
- parallel copies of tests greater than 16, exit directly HOT 1
- Does not compile on RISC-V HOT 1
- unable to run Unixbench on my server HOT 4
- /home/uos/UnixBench/pgms/ubgears:not found;aborting HOT 1
- "Pipe-based Context Switching" sometimes parent and child process will run on the same CPU HOT 1
- Could we allocate unique fd for each parallel in Unixbench - syscall? HOT 1
- Improve the scalability of fstime HOT 2
- execl: as the degree of parallelism increases, osq_lock becomes a bottleneck HOT 1
- Is this project an official project? HOT 1
- File Copy test failed HOT 1
- In the pgms/index.base file, what does each column separated by " | " mean?
- SMP -- not detected on Raspberry Pi 4 (and 3)
- Running on intel SPR CPU, unix bench compiled with gcc 10.3 performs worse than with gcc 8.5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from byte-unixbench.