[Libwebsockets] [libwebsockets] #59: libwebsockets on powerpc

Trac trac at libwebsockets.org
Tue Mar 25 15:14:01 CET 2014


#59: libwebsockets on powerpc
------------------------------------+-----------------
 Reporter:  luckytrack              |      Owner:
     Type:  defect                  |     Status:  new
 Priority:  major                   |  Milestone:
Component:  libwebsocket test apps  |    Version:
 Keywords:                          |
------------------------------------+-----------------
 I compiled libwebsockets for a 400-MHz powerpc linux system, which worked
 fine. Then i tried the libwebsockets-test-server, which also seemed to
 work, but somehow only updates the counter on the test-page about every
 ~200 ms, instead of the 50ms updates i get on a x86 system. Also the
 mirror-test does not seem to work very well, when i try to draw a straight
 line in one client, the other client just seems to get fragments of that
 line. When moving the mouse very slowly, it seems to work better. My first
 guess would have been that the system is just too slow, but the cpu usage
 stays very low, typically under 5%, during the tests.

 Strace output of the counter operation of the test-server:
 15:24:20.629276 poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8,
 events=POLLIN}], 3, 50) = 0 (Timeout)
 15:24:20.679824 poll([{fd=5, events=POLLIN}, {fd=7,
 events=POLLIN|POLLOUT}, {fd=8, events=POLLIN}], 3, 50) = 0 (Timeout)
 15:24:20.730374 poll([{fd=5, events=POLLIN}, {fd=7,
 events=POLLIN|POLLOUT}, {fd=8, events=POLLIN}], 3, 50) = 0 (Timeout)
 15:24:20.780925 poll([{fd=5, events=POLLIN}, {fd=7,
 events=POLLIN|POLLOUT}, {fd=8, events=POLLIN}], 3, 50) = 1 ([{fd=7,
 revents=POLLOUT}])
 15:24:20.829279 send(7, "\201\0014", 3, MSG_NOSIGNAL) = 3
 15:24:20.829799 poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8,
 events=POLLIN}], 3, 50) = 0 (Timeout)
 15:24:20.880347 poll([{fd=5, events=POLLIN}, {fd=7,
 events=POLLIN|POLLOUT}, {fd=8, events=POLLIN}], 3, 50) = 0 (Timeout)
 15:24:20.930898 poll([{fd=5, events=POLLIN}, {fd=7,
 events=POLLIN|POLLOUT}, {fd=8, events=POLLIN}], 3, 50) = 0 (Timeout)
 15:24:20.981449 poll([{fd=5, events=POLLIN}, {fd=7,
 events=POLLIN|POLLOUT}, {fd=8, events=POLLIN}], 3, 50) = 1 ([{fd=7,
 revents=POLLOUT}])
 15:24:21.030184 send(7, "\201\0015", 3, MSG_NOSIGNAL) = 3
 15:24:21.030707 poll([{fd=5, events=POLLIN}, {fd=7,
 events=POLLIN|POLLOUT}, {fd=8, events=POLLIN}], 3, 50) = 0 (Timeout)
 15:24:21.081261 poll([{fd=5, events=POLLIN}, {fd=7,
 events=POLLIN|POLLOUT}, {fd=8, events=POLLIN}], 3, 50) = 0 (Timeout)
 15:24:21.131814 poll([{fd=5, events=POLLIN}, {fd=7,
 events=POLLIN|POLLOUT}, {fd=8, events=POLLIN}], 3, 50) = 0 (Timeout)
 15:24:21.182364 poll([{fd=5, events=POLLIN}, {fd=7,
 events=POLLIN|POLLOUT}, {fd=8, events=POLLIN}], 3, 50) = 1 ([{fd=7,
 revents=POLLOUT}])

--
Ticket URL: <http://libwebsockets.org/trac/libwebsockets/ticket/59>
libwebsockets <http://libwebsockets.org>
libwebsockets C library



More information about the Libwebsockets mailing list