To understand the problem we need more info. Please, try the following: 1) Run pin with no application specified in the comand line: ..\Bin\pin You should see...
Interesting observation. Theoretically, performance of pin in Windows and Linux should not be significantly different on COMPARABLE applications, since both...
... As Greg said, yes. There is one tricky thing that might diminish the improvements. If you are making C calls, if you have a single C call per ...
Nicholas Nethercote
njn@...
Sep 2, 2007 12:43 am
1919
Hmmm actually, I do a different thing for many different instructions. I handle many special cases, so I guess that WILL be bad for the branch prediction. I am...
Thank you for the detail interpretation. First, I am wrong on my previous declaration about the performance difference under Windows and Linux. Sorry if any...
... Another question worth asking: do you really need your tool to run faster? Nick...
Nicholas Nethercote
njn@...
Sep 3, 2007 12:30 am
1923
Hi, I am making a generic call interceptor under PIN. In this case, the number of parameters is dynamic w.r.t. the interceptor. One solution is to pass a...
I think passing MAX_FUNC_ARGS to the interception routine should work. The only problem, I can think about, is a very rare case when the stack is near its...
Hi: When I try to run pin on my Intel x86_64 machine installed redhat 2.6.21-1.3194.fc7 SMP Linux, it reports following error messages: [zhaoqin@fastbird2...
As far as I know, the only straightforward way to get function's return value is instrumenting RET instructions and using IARG_FUNCRET_EXITPOINT_VALUE. ...
Yes. You should use IARG_FUNCRET_EXITPOINT_VALUE in one of two ways: 1) Use INS_InsertCall() with IPOINT_BEFORE to instrument the RET instruction of the...
This must be an easy question. When trying to run a multithreaded program on Linux 64 with the inscount0 analyzer from the ManualExamples directory, I'v got...
Following on. In general, you want to use inscount2 instead of inscount0 because it is often an order of magnitude faster (the difference is the ...
Kim Hazelwood
hazelwood@...
Sep 5, 2007 1:09 pm
1934
Hi: I tried to run SuperPin on my multi-core system (2x Dual Core AMD Opteron. Might I know how do I know if SuperPin is working or just normal Pin is working?...
Hi Qin, One more flag that you will need is the -sp 1 flag. I would not use an -spmp value greater than the number of cores available to you (in your case 4). ...
Kim Hazelwood
hazelwood@...
Sep 6, 2007 3:04 pm
1936
Dear Kim: Thanks for your help.Might I know what -xyzzy stands for, is it purely for developing purpose? I followed your instruction and test it on a Pentium D...
Hi, I am trying to trace Apache using PIN under Windows, but it exits without printing out any error. The following command is used: ..\Bin\pin.exe -t...
Details from WinDbg: (14ec.1634): Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception handling. This...
Hi, We would like to take a look at this. Can you send a download link to this application? In the meantime, can you run 'pin -xyzzy -mesgon log_win -- ...
Hi, Nadav,
Here is the link for Apache Server:
http://apache.mirrors..hoobly.com/httpd/httpd-2.2.6-win32-src-r2.zip
I am also attaching the file of pin.log...
I see 233 concurrently running threads in the application. For each such a thread, pin allocates > 8Mb memory (stack and other per- thread stuff). In total...
Yes, you are right. I have changed the Apache configuration as follows. It works well under PIN now. # ThreadsPerChild: constant number of worker threads in...
Hi, We plan to support instrumentation of child processes for Pin/Windows Nadav ... under PIN now. ... process ... process serves ... tracing in the near...
Hi, all, I have tested PIN performance using a small (homegrown) program. The native run of the program will cost 0.03 seconds. However, when I put it under...
There is a fixed overhead for translating your program, so the shorter the original runtime, the higher the slowdown. For a detailed explanation, see this...