RE: fio-2c2c93d and with a lot of numjobs causing fio Jobs to Time Out

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

 



Andrey,

> It's best to run make clean, configure --disable-optimizations, and then make. Also, check if you have libpthreads-debug installed so that gdb tracks libpthread symbols.

I have tyhe pthread debug library:
   # find / -name "libpth*"
   /usr/ccs/lib/inst_updt/libpthdebug.a
   /usr/ccs/lib/libp/libpthread.a
   /usr/ccs/lib/libp/libpthreads.a
   /usr/ccs/lib/libp/libpthreads_compat.a
   /usr/ccs/lib/libpthdebug.a             <==== here
   /usr/ccs/lib/libpthread.a
   /usr/ccs/lib/libpthreads.a
   /usr/ccs/lib/libpthreads_compat.a
   /usr/ccs/lib/libt/libpthread.a
   /usr/ccs/lib/libt/libpthreads.a
   /usr/ccs/lib/libt/libpthreads_compat.a
   /usr/ccs/lib/perf/libpthread.a
   /usr/ccs/lib/perf/libpthreads.a
   /usr/ccs/lib/perf/libpthreads_compat.a
   /usr/lib/libpthdebug.a              <==== here
   /usr/lib/libpthread.a
   /usr/lib/libpthreads.a
   /usr/lib/libpthreads_compat.a
   #

The tools procstack (from man: Prints the hexadecimal addresses and symbolic names for all the threads in the process) from ibmprocstack can read the thread:
   # ldd /usr/bin/procstack
   /usr/bin/procstack needs:
            /usr/lib/libc.a(shr_64.o)
            /usr/lib/libptools.a(shr64.o)
            /unix
            /usr/lib/libcrypt.a(shr_64.o)
            /usr/lib/libpthreads.a(shr_xpg5_64.o)
            /usr/lib/libC.a(shr_64.o)
            /usr/lib/libodm.a(shr_64.o)
            /usr/lib/libtrace.a(shr_64.o)
            /usr/lib/libC.a(shrcore_64.o)
            /usr/lib/libC.a(ansicore_64.o)
   #

Below output from procstak:
   # procstack 8913040
   8913040: /home/padmin/fio/fio-5f3bd0f/fio myfio.fio
   ---------- tid# 84803767 (pthread ID:      1) ----------
   0xd051d470  _p_nsleep(??, ??) + 0x10
   0xd011f3e4  nsleep(??, ??) + 0xe4
   0xd011ee34  usleep(??) + 0xd4
   0x1006922c  run_threads(??) + 0xaf0
   0x10069640  fio_backend(??) + 0x174
   0x100004c0  main(??, ??, ??) + 0xd8
   0x100001b8  __start() + 0x68
   ---------- tid# 110231691 (pthread ID:    258) ----------
   0xd0119598  __ioctl(??, ??, ??, ??, ??) + 0xb8
   0xd0119bbc  ioctl(0x1, 0x5800, 0x0, 0x0, 0x0, 0x4, 0x0, 0x3009f6a8) + 0x3c
   0xd0118f24  isatty(??) + 0x24
   0x100625d8  calc_thread_status(??, ??) + 0xb8
   0x10064828  print_thread_status() + 0x58
   0x10064b8c  helper_thread_main(??) + 0x120
   0xd0505c0c  _pthread_body(??) + 0xec
   # 

Does the output from procstak is useful?
How to configure 'configure' or 'make' to use the /usr/lib/libpthdebug.a ?

Regards,
Thierry

    --
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux