Quoting Lev Serebryakov <[email protected]> (from Wed, 4 May 2011 16:49:01 +0400):

Hello, Freebsd-stable.

  I have userland program (transmission BT client), which spent 100%
of one core of E4500 CPU when it has many peers. It is surprises me,
as channel is only 35Mbit, and my "Linux" friends can upload much more
on comparable hardware.

  But what surprises me even more, that 50% of this time it spends as
System time.

  Is here any way to understand, what transmission does in kernel for
so much time? It seems, that userland profiling doesn't help me, am I
right?

ktrace and dtrace are your friends. ktrace for a simple "it makes those syscalls/ioctls/..." type of information gathering, and dtrace for in-deep investigation.

Bye,
Alexander.

--
The difference between a good haircut and a bad one is seven days.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to