#
dbdf3d55 |
| 03-Oct-2024 |
Isaac Boukris <iboukris@gmail.com> |
timer: override CPU TSC frequency with OS value
The CPU provided value is often not accurate, allow overriding it based on info from the host OS.
On Linux x86, if the tsc_known_freq cpu flag is mis
timer: override CPU TSC frequency with OS value
The CPU provided value is often not accurate, allow overriding it based on info from the host OS.
On Linux x86, if the tsc_known_freq cpu flag is missing, it means the kernel doesn't trust it and calculates its own. We should do the same to avoid drift.
On Freebsd, we have access to the kernel tsc_hz value, just use it.
Bugzilla ID: 959
Signed-off-by: Isaac Boukris <iboukris@gmail.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
#
7268f21a |
| 03-Oct-2024 |
Isaac Boukris <iboukris@gmail.com> |
timer: improve TSC estimation accuracy
In practice, the frequency is often not a nice round number, while the estimation results are rather accurate, just a couple of KHz away from the kernel's tsc_
timer: improve TSC estimation accuracy
In practice, the frequency is often not a nice round number, while the estimation results are rather accurate, just a couple of KHz away from the kernel's tsc_khz value, so it should suffice.
Rounding to 10MHz can cause a significant drift from real time, up to a second per 10 minutes.
Bugzilla ID: 959
Signed-off-by: Isaac Boukris <iboukris@gmail.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
#
99a2dd95 |
| 20-Apr-2021 |
Bruce Richardson <bruce.richardson@intel.com> |
lib: remove librte_ prefix from directory names
There is no reason for the DPDK libraries to all have 'librte_' prefix on the directory names. This prefix makes the directory names longer and also m
lib: remove librte_ prefix from directory names
There is no reason for the DPDK libraries to all have 'librte_' prefix on the directory names. This prefix makes the directory names longer and also makes it awkward to add features referring to individual libraries in the build - should the lib names be specified with or without the prefix. Therefore, we can just remove the library prefix and use the library's unique name as the directory name, i.e. 'eal' rather than 'librte_eal'
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|