Hi All,

My DR testing failed after about 6000 of DR loops. And I've got lot's of 
vmem allocation failures during my DR testing, it seems the space of 
"device" is exhausted.

 > ::vmem ! grep device
fffffffecac54000 device                 1073741824   1073741824   
1326624 109685

I also got lots of warning messages about pcihp and pcicfg, since these 
driver are important to DR.  I think my DR failures were caused by the 
device vmem exhaustion.

Aug 12 12:13:30  pcihp: WARNING: pcihp (pcie_pci3): failed to attach one 
or more drivers for the card in the slot pcie1
Aug 12 12:13:32 pcicfg: WARNING: pcicfg: cannot map config space, to get 
map type

And I didn't find the memory leaks by ::findleaks dcmd, and psyscial 
memory had 90 free at that time.

Now I have 3 questions about this issue:

1. How can we know one vmem area used by which kernel modules or 
drivers?  Can we check the vmem allocation info by mdb?


2. The device vmem area seems to be important to vmem allocation 
required by driver attach, does it?

3. If my DR testing caused by device vmem exhaustion,  and since device 
vmem area is limited, I think my testing results should be OK, right?


Anyway, please give your comments or some references I could refer to. 
And I really want to prove my assumption above by using mdb. 



-- 
Cheers,

----------------------------------------------------------
Oliver Yang | Work from home | http://blog.csdn.net/yayong


Reply via email to