Initial import; Fixes: RHBZ#1997730

epel9
Davide Cavalca 3 years ago
parent ef8703b186
commit 4d34baa1c5

1
.gitignore vendored

@ -0,0 +1 @@
/resctl-bench-2.1.2.crate

@ -0,0 +1,72 @@
# Generated by rust2rpm 18
%bcond_without check
%global __cargo_skip_build 0
%global crate resctl-bench
Name: rust-%{crate}
Version: 2.1.2
Release: %autorelease
Summary: Whole system resource control benchmarks with realistic scenarios
# Upstream license specification: Apache-2.0
License: ASL 2.0 and BSD and MIT and zlib
URL: https://crates.io/crates/resctl-bench
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand:
resctl-bench is a collection of whole-system benchmarks to evaluate resource
control and hardware behaviors using realistic simulated workloads.
Comprehensive resource control involves the whole system. Furthermore, testing
resource control end-to-end requires scenarios involving realistic workloads
and monitoring their interactions. The combination makes benchmarking resource
control challenging and error-prone. It's easy to slip up on a configuration
and testing with real workloads can be tedious and unreliable.
resctl-bench encapsulates the whole process so that resource control benchmarks
can be performed easily and reliably. It verifies and updates system
configurations, reproduces resource contention scenarios with a realistic
latency-sensitive workload simulator and other secondary workloads, analyzes
the resulting system and workload behaviors, and generates easily
understandable reports.}
%description %{_description}
%package -n %{crate}
Summary: %{summary}
Requires: rd-agent = %{version}
Requires: rd-hashd = %{version}
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
%doc examples doc README.md
%{_bindir}/resctl-bench
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (resctl-bench-2.1.2.crate) = 55e56c9bf5d6c2d1c944291ad8908cff5a5e37e51bb8b4baa98dca5515773d22f509a14e9e85cd11066d5011a6390fbaec5d65c029b9ab253493004c937840eb
Loading…
Cancel
Save