|
Docker desktop says: 798.72% / 800% (8 CPUs available), and at the bottom of the app 100% CPU. Windows task manager says ~5% CPU usage. How to make Docker utilise the unused host CPU capacity? RAM usage in Docker is around 50% of the allocated, so that is fine. Docker desktop: 4.42.1 (196648) using WSL 2-based engine Windows task manager: WSL config: [wsl2] processors=8 memory=16GB swap=8GB pageReporting=false vmIdleTimeout=-1 localhostForwarding=true nestedVirtualization=falsecat /proc/cpuinfo inside WSL gives 8 sections of the below data. Note, it shows 8 siblings and 8 cores. processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 106 model name : Intel(R) Xeon(R) Gold 6342 CPU @ 2.80GHz stepping : 6 microcode : 0xffffffff cpu MHz : 2793.437 cache size : 36864 KB physical id : 0 siblings : 8 core id : 0 cpu cores : 8 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 27 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx512vbmi umip avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm md_clear flush_l1d arch_capabilities bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs itlb_multihit mmio_stale_data retbleed eibrs_pbrsb gds bhi bogomips : 5586.87 clflush size : 64 cache_alignment : 64 address sizes : 45 bits physical, 48 bits virtual (责任编辑:) |
