c# - asp.net jit multiple core slow -


using iis i'm running asp.net 4.5 , trying find way improve jit times on machine multiple(8) cores. test use timing 100 different pages. machine i'm testing on 4 core, 8 logical processors.

the maximum see csc or w3p 13% appears it's using 1 core. i've read since asp.net 4.5 multicore jit on default. ok sure, it's still 13%. read ngen trying on dll's in bin dir. didn't have affect on timing perfview seems have done something.

antivirus off @ time of testing.

test timings: peformed after first page has loaded

  • cold prejit (first run) 10.25 min
  • hot run (second run) 2.32 min
  • ngen first run 10.24 min

perfview jitstats

cold prejit
-process cpu time: 161,038 msec
-total number of jit compiled methods : 13,193
-total msec jit compiling : 2,630
-jit compilation time percentage of total process cpu time : 1.6%
process not use background jit compilation

ngen first run
-process cpu time: 144,152 msec
-total number of jit compiled methods : 4,604
-total msec jit compiling : 608
-jit compilation time percentage of total process cpu time : 0.4%
process not use background jit compilation.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -