lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,
i'm profiling an application that consists in a simple web-server
which rely on the splay runtime[1].
Linux's perf tool, version 3.13.9
I'm using a Linux 3.13.0-24-generic 64-bit machine, ubuntu 1.404 LTS,
running inside a KVM/qemu virtual machine, with 2 GB of Ram and 4
cores.

The client is  wget, which sends a big chunk (128 MB) of binary data
to the web-server.
I launch the application with: "perf record -g -v lua webserver_splay.lua".

Inspecting the results shows something that I cannot really explain:
https://gist.github.com/vschiavoni/cadd01d42557ce87d612 (only the most
heavy entries show).

What is it happening that triggers that many '__memcpy_sse2_unaligned' ?
Can anyone shed some light on this ?

Best regards,
Valerio

1 - https://gist.github.com/vschiavoni/315af2d2ea91876506a2
2 - https://github.com/splay-project/splay/tree/lua52