Re: amrd disk performance drop after running under high load
- From: Alexey Popov <lol@xxxxxxxxxxxx>
- Date: Wed, 31 Oct 2007 14:54:26 +0300
Hi
Kris Kennaway wrote:
But it was evidence of mbuf lock contention in mutex profiling, wasn't it? As far as I understand, mutex problems can exist without increasing CPU load in pmc stats, right?OK, the pmc traces do seem to show that it's not a lock contention issue. That being the case I don't think the fact that different servers perform better is directly related.pmc profiling attached.pmc would be useful.I forgot to mention I have pmc and kgmon profiling for good and bad times. But I have not enough knowledge to interpret it right and not sure if it can help.So I can conclude that FreeBSD has a long standing bug in VM that could be triggered when serving large amount of static data (much bigger than memory size) on high rates. Possibly this only applies to large files like mp3 or video.It is possible, we have further work to do to conclude this though.
There is also no evidence of a VM problem. What your vmstat and pmc traces show is that your system really isn't doing much work at all, relatively speaking.vmstat and network output graphs shows that the problem exists. If it is not a disk or network or VM problem, what else could be wrong?
There is also still no evidence of a disk problem. In fact your disk seems to be almost idle in both cases you provided, only doing between 1 and 10 operations per second, which is trivial.
In the "good" case you are getting a much higher interrupt rate but with the data you provided I can't tell where from. You need to run vmstat -i at regular intervals (e.g. every 10 seconds for a minute) during the "good" and "bad" times, since it only provides counters and an average rate over the uptime of the system.I'll try this, but AFAIR there was no strangeness with interrupts.
I believe the reason of high interrupt rate in "good" cases is that server sends much traffic.
What there is evidence of is an interrupt aliasing problem between em and USB:I tried disabling USB in kernel, this ussie was gone, but the main problem was left. Also I have this issue with interrupt aliasing on many servers without problems.
irq16: uhci0 1464547796 1870
irq64: em0 1463513610 1869
With best regards,
Alexey Popov
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: amrd disk performance drop after running under high load
- From: Kris Kennaway
- Re: amrd disk performance drop after running under high load
- References:
- amrd disk performance drop after running under high load
- From: Alexey Popov
- Re: amrd disk performance drop after running under high load
- From: Kris Kennaway
- Re: amrd disk performance drop after running under high load
- From: Alexey Popov
- Re: amrd disk performance drop after running under high load
- From: Kris Kennaway
- Re: amrd disk performance drop after running under high load
- From: Alexey Popov
- Re: amrd disk performance drop after running under high load
- From: Kris Kennaway
- Re: amrd disk performance drop after running under high load
- From: Alexey Popov
- Re: amrd disk performance drop after running under high load
- From: Kris Kennaway
- Re: amrd disk performance drop after running under high load
- From: Alexey Popov
- Re: amrd disk performance drop after running under high load
- From: Kris Kennaway
- amrd disk performance drop after running under high load
- Prev by Date: Re: boot loader
- Next by Date: Re: ``Stopping RAM access''
- Previous by thread: Re: amrd disk performance drop after running under high load
- Next by thread: Re: amrd disk performance drop after running under high load
- Index(es):
Relevant Pages
|
|