Comments (5)
Hi. It is news to me if/that -j
detects the actual number of CPUs. That wasn't the case - it would run as many jobs as the Makefile's parallelism allows, so would overwhelm smaller systems. Even if it's better now, I guess that's not universal across platforms and older versions of make
are still in use. So we either make no changes or add our own detection of CPU count to include that number in the suggested command.
from john.
But make -sj should, according to the documentation, automatically try to use as many jobs as possible, based on the number of available CPU cores.
I don't see the "based on the number of available CPU cores" part in the documentation. Where is that?
add our own detection of CPU count to include that number in the suggested command.
Do you want to implement this, @AlbertVeli?
from john.
But make -sj should, according to the documentation, automatically try to use as many jobs as possible, based on the number of available CPU cores.
I don't see the "based on the number of available CPU cores" part in the documentation. Where is that?
It was actually an assumption based on how it seemed to work. I should have checked before.
add our own detection of CPU count to include that number in the suggested command.
Do you want to implement this, @AlbertVeli?
I can give it a try and see if it succeeds.
from john.
One easy way would be to call ncores, from coreutils. It is not guaranteed to be installed everywhere though. But ncores if installed, else a default value of 4. What do you think of that?
Edit. The tool from coreutils is called nproc, not ncores.
from john.
We ended up going with "add our own detection of CPU count to include that number in the suggested command". So we can close this issue as completed, in that sense.
from john.
Related Issues (20)
- Possible to get the Core Generator project for the ZTEX source project? HOT 9
- Not ISSUE: GPG SYMMETRIC ENCRYPTION HOT 3
- NVIDIA driver 551.86 new "Warning: Function [...] is a kernel, so overriding noinline attribute" HOT 12
- Złamanie hasła HOT 1
- libreoffice2john.py: UnboundLocalError: cannot access local variable 'start_key_generation_name' HOT 12
- Broken lower-case mssql hash validation HOT 1
- PBKDF2 With salt Support HOT 4
- On recent NVIDIA drivers, OpenCL formats in 1.9.0-jumbo-1 fail with: error: passing '__generic uchar *' (aka '__generic unsigned char *') to parameter of type 'const uchar *' (aka 'const unsigned char *') changes address space of pointer HOT 2
- Dynamic memory leak when using a constant HOT 5
- GCC is again complaining about `use after [..]alloc` HOT 2
- Wrong usage of pcapngepb and pcapngpb in wpapcap2john.c HOT 5
- Add Python `requirements.txt` file with pinned version numbers HOT 10
- Undefined Behavior Sanitizer "errors" HOT 12
- Support Keplr v2 wallets HOT 10
- 'make check' oddities HOT 10
- limit number of threads HOT 2
- mssql05 misses some cracks in AVX512BW builds HOT 15
- Test suite failures HOT 1
- crypt format occasionally fails a `--test-full=0 --format=cpu` run on Ubuntu 22 powerpc64le HOT 13
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 john.