Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have solaris system that installed 12 GB RAM. All running process consume about %65 memory. I start to application that tshark (wireshark command line alternative). Tshark complete parse a file(really small one) about 5-6 seconds. Re-execute again tshark, completed less than 1 second. If I wait a couple of minutes, process complete time is increased to 5-6 seconds. I run tshark with using truss, results said that brk() operation (brk is totally about memory allocation) is cause this delay. I want to response tshark operation is less than 1 seconds that similar to repeatedly executions. How can we do this? What is wrong with memory allocation at solaris?

uname -a SunOS test_machine 5.10 Generic_147441-01 i86pc i386 i86pc

share|improve this question
    
How long is the brk operation taking? More than a second? Can you paste the truss output around the brk operation? –  David Schwartz Apr 4 '13 at 8:18
    
You can compare slow and fast execution truss output from link speedyshare.com/AwzRh/tshark.rar –  Erdinç Taşkın Apr 4 '13 at 8:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.