Count line of processor in /proc/cpuinfo on linux, that matches...#4512
Count line of processor in /proc/cpuinfo on linux, that matches...#4512sergey-dryabzhinsky wants to merge 7 commits intofacebook:devfrom
Conversation
cpu cores even in lxc containers
|
Backup compression on proxmox3 server / debian7. Cpu: intel core i7 6850k 3.6 GHz, 12 cores. |
|
With patch: System load greater but process run faster. |
|
Second server: proxmox7, debian11, cpu intel xeon E3-1230 v6 @ 3.50GHz, 8 cores. |
|
With patch: |
|
Failed action not related |
|
If you prefer |
|
@Cyan4973 Thanx, I'll check it |
|
That works: Question: why it is not default behaviour? |
|
It's a question of choice. Now, this is not immutable, we could change it if we feel that's a better option. |
|
Maybe this behaviour could be changed at compile time to let distributors choose what they want? |
A compilation variable would do the trick |
Adx new defined compile var
Use new defined var to enable-disable hardcode
Add comments
Fix comment
|
I added compilation "variable" through cflags |
|
Work still in progress. |
Change var name
Fixed prepocessor check on new var
|
All done I think. |
|
Not shure how to add this to docs. |
|
Ready for review |
cpu cores even in lxc containers
Address issue #4510