Skip to content

improve tsc frequency calibration

Gowrishankar dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 8 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5eal/x86: define architecture specific rdtsc hzlib/librte_eal/common/include/arch/x86/rte_cycles.h+13 -00 replies
2/5eal/ppc64: define architecture specific rdtsc hzlib/librte_eal/common/include/arch/ppc_64/rte_cycles.h+24 -01 reply
3/5eal/armv7: define architecture specific rdtsc hzlib/librte_eal/common/include/arch/arm/rte_cycles_32.h+13 -00 replies
4/5eal/armv8: define architecture specific rdtsc hzlib/librte_eal/common/include/arch/arm/rte_cycles_64.h+30 -00 replies
5/5eal/timer: honor architecture specific rdtsc hz functionlib/librte_eal/common/eal_common_timer.c+4 -17 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAnatoly BurakovJianbo LiuHarry van HaarenBruce RichardsonJerin Jacob
SeriesA-b A-b T-b T-b
1/5A-b
2/5
3/5
4/5A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/5] improve tsc frequency calibration

From: Gowrishankar Muthukrishnan <[email protected]>

Some architecture like armv8 provides an architecture specific function to get the rdtsc frequency. The existing rdtsc calibration scheme uses OS serivce like sleep(1) to calibrate the frequency which may not produce the accurate result. Introducing an architecture specific hook to get the rdtsc frequency if architecture provides it. If not, use the exiting the calibrate scheme to get the rdtsc frequency.

Jerin Jacob (5):
eal/x86: define architecture specific rdtsc hz eal/ppc64: define architecture specific rdtsc hz eal/armv7: define architecture specific rdtsc hz eal/armv8: define architecture specific rdtsc hz eal/timer: honor architecture specific rdtsc hz function

 lib/librte_eal/common/eal_common_timer.c           |  5 +++-
 .../common/include/arch/arm/rte_cycles_32.h        | 13 ++++++++++
 .../common/include/arch/arm/rte_cycles_64.h        | 30 ++++++++++++++++++++++
 .../common/include/arch/ppc_64/rte_cycles.h        | 24 +++++++++++++++++
 .../common/include/arch/x86/rte_cycles.h           | 13 ++++++++++
 5 files changed, 84 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.1