Interconnectedness of all things

Patch 141414-01 : U7 sustaining gate

Tuesday Jun 16, 2009

Patch 141414-01 which was released yesterday (Update 7 sustaining gate for SPARC) has a couple of interesting performance related fixes for larger systems. I came across a case of 6682267 at a customer last week. Lockstat -C outputs looks something like this

root@xxxxxxxx-M9000 # lockstat -C -s 50 -n 1000000000 sleep 10 | more

Adaptive mutex spin: 1097781 events in 16.337 seconds (67195 events/sec)

-------------------------------------------------------------------------------
Count indv cuml rcnt     nsec Lock                   Caller                  
99062   9%   9% 0.00   232883 pcf+0x8                page_create_putback+0x64

      nsec ------ Time Distribution ------ count     Stack                   
       512 |                               62        page_alloc_pages+0x16c  
      1024 |                               675       anon_map_getpages+0x348 
      2048 |                               2162      segvn_fault_anonpages+0x384
      4096 |@                              6125      segvn_fault+0x530       
      8192 |@@@                            11233     as_fault+0x4c8          
     16384 |@@                             9625      pagefault+0xac          
     32768 |@@@@                           13437     trap+0xd50              
     65536 |@@@@@@                         22915     utl0+0x4c               
    131072 |@@@@                           13585     
    262144 |@@                             7181      
    524288 |@                              3778      
   1048576 |                               2975      
   2097152 |                               2439      
   4194304 |                               1898      
   8388608 |                               891       
  16777216 |                               78        
  33554432 |                               2         
  67108864 |                               1         
-------------------------------------------------------------------------------
Count indv cuml rcnt     nsec Lock                   Caller                  
90004   8%  17% 0.00   306645 pcf+0x8                page_create_wait+0xa0   

      nsec ------ Time Distribution ------ count     Stack                   
       512 |                               74        page_alloc_pages+0x68   
      1024 |                               804       anon_map_getpages+0x348 
      2048 |                               1554      segvn_fault_anonpages+0x384
      4096 |@                              3909      segvn_fault+0x530       
      8192 |@@                             8361      as_fault+0x4c8          
     16384 |@@@@                           12636     pagefault+0xac          
     32768 |@@@@@                          16311     trap+0xd50              
     65536 |@@@@@                          15513     utl0+0x4c               
    131072 |@@@                            10583     
    262144 |@@                             6068      
    524288 |@                              3897      
   1048576 |@                              3335      
   2097152 |@                              3077      
   4194304 |                               2652      
   8388608 |                               1108      
  16777216 |                               112       
  33554432 |                               7         
  67108864 |                               3         

Worth considering this patch under load if you see a similar stack or drop me a mail as I have a few bits of D and MDB which can help confirm the initial analysis.

Like this post? del.icio.us | furl | slashdot | technorati | digg
Comments:

Post a Comment:
Comments are closed for this entry.