Posts

Showing posts from July, 2023

Await

 https://www.reddit.com/r/csharp/comments/oxaoj4/c_why_use_async_if_i_must_await_for_the_response/ https://blog.ndepend.com/c-async-await-explained/

CPU Writeup

  QUESTION: Any suggestions?    PROBLEM:   50% CPU on DEV services server.   LOCAL:   My local system is i9-12950HX, 32 GB RAM, 16 cores and 24 logical processors . I have the release version now doing 8% to 9% CPU with 24 MB RAM memory and 37 threads on local by adding cache to closed store numbers.  The network and disk amounts are 0% to 1% so do not seem to be the problem.   DEV: Dev services server is Xeon 8362 with only 8 GB RAM and 2 processors which is 62% of the speed of my box (source is https://www.cpu-monkey.com/en/compare_cpu-intel_xeon_platinum_8362-vs-intel_core_i9_12900k ) and 25% of my RAM.  However when I deploy to DEV, I still get about 51% CPU and 50.5 MB RAM and 20 threads on DEV .   The network and disk amounts are 0% to 1% so do not seem to be the problem.    NOTES:   (All numbers are approx. Using Resource Monitor on both.)