This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gdb.base/siginfo-thread.exp: Increase timeout for 'gcore' command


On 03/16/2017 04:00 PM, Wei-min Pan wrote:
> Yao Qi wrote:

>> Did you see timeout fails in all gcore related tests?  gdb_gcore_cmd is
>> used in many places in gdb testsuite.  Did you investigate why it is so
>> slow to generate coredump in gdb?
>>
>>   
> No, only this test failed with timeout and did so consistently. The
> generated core file was fine.
> We suspect the slow disk performance was the culprit.

I agree with Yao, and I'm not convinced.  The generated core file is just
"8.6M" on my x86_64 Fedora 23 and the test runs in under 1s here.

$ time make check TESTS="*/siginfo-thread.exp"
...
real    0m0.781s
user    0m0.554s
sys     0m0.152s


What's the size of the core you get?  If you run the test manually,
do we notice any kind of slowness?

If you have a general slowness issue in your testing host, then
this should be affecting all gcore tests the same.  We have some
tests that generate big cores on purpose even.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]