Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2018 09:32:35 +0530
From:      Steevan Rodrigues <steevanxperia@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   PCI Express card driver load and unload takes too much time ( up to 30 minutes)
Message-ID:  <CAKsGTHS_KRFBX5qzXe3QcBKavf0GNk0iyOWYjqpi_6dTE_NwCA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello Folks,

We have  a PCI express card for data processing to achieve 25 to 30 Gbps .
Recently we have been facing a issue in one of the server at customer site.

System information:
Supermicro motherboard-X11DPH-TQ motherboard
hw.model: Intel(R) Xeon(R) Gold 5115 CPU @ 2.40GHz  ( Dual CPU with total
20 cores)
16 GB RAM

In this system the same PCIe card works fine in RHEL 7.5 and the driver
load and unload also works fine.  Our driver usually takes about 20 seconds
to load and approx 20 seconds to unload.

However, on this particular system when FreeBSD ( tried with 11.1 and 11.2
Release) is used it takes about 2 to 4 minutes to load and about 8 to 30
minutes to unload.
During unload it looks like the system freezes completely and I can not run
any commands to find out what is happening .

The same driver works fine in our lab  servers Dell T620 ( Xeon 12 core
CPUs) and desktops with FreeBSD 11.1 and 11.2 and 10.4 .

Also I ran couple of Phoronix tests on this SuperMicro server. In one
particular test I see that the time taken is too much.
The test suite is OsBench. In this, the thread creation test shows average
time taken to create threads is 9000 usec .  On the other hand we have
servers and desktops in our lab and in that this same thread creation takes
only 20 to 30 usec .

Any pointers about what could be wrong with the system or our PCIe card
driver  ?

Thanks
Steevan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKsGTHS_KRFBX5qzXe3QcBKavf0GNk0iyOWYjqpi_6dTE_NwCA>