|
|
a75f05a |
Summary: System performance benchmark
|
|
|
a75f05a |
Name: sysbench
|
|
|
cfd77b9 |
Version: 1.0.3
|
|
|
cfd77b9 |
Release: 1%{?dist}
|
|
|
4e745d3 |
License: GPLv2+
|
|
|
a75f05a |
Group: Applications/System
|
|
|
f176020 |
Source0: https://github.com/akopytov/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
f176020 |
URL: https://github.com/akopytov/sysbench/
|
|
|
a75f05a |
|
|
|
f176020 |
BuildRequires: mariadb-devel
|
|
|
a75f05a |
BuildRequires: postgresql-devel
|
|
|
f176020 |
BuildRequires: ck-devel
|
|
|
f176020 |
BuildRequires: luajit-devel
|
|
|
7adb7ad |
BuildRequires: libaio-devel
|
|
|
2919188 |
BuildRequires: automake
|
|
|
2919188 |
BuildRequires: libtool
|
|
|
c01e4db |
BuildRequires: vim-common
|
|
|
9bf13dd |
# Tests
|
|
|
9bf13dd |
BuildRequires: /usr/bin/cram
|
|
|
a75f05a |
|
|
|
a75f05a |
|
|
|
a75f05a |
%description
|
|
|
a75f05a |
SysBench is a modular, cross-platform and multi-threaded benchmark
|
|
|
a75f05a |
tool for evaluating OS parameters that are important for a system
|
|
|
a75f05a |
running a database under intensive load.
|
|
|
a75f05a |
|
|
|
a75f05a |
The idea of this benchmark suite is to quickly get an impression about
|
|
|
a75f05a |
system performance without setting up complex database benchmarks or
|
|
|
a75f05a |
even without installing a database at all. Current features allow to
|
|
|
a75f05a |
test the following system parameters:
|
|
|
a75f05a |
- file I/O performance
|
|
|
a75f05a |
- scheduler performance
|
|
|
a75f05a |
- memory allocation and transfer speed
|
|
|
a75f05a |
- POSIX threads implementation performance
|
|
|
a75f05a |
- database server performance (OLTP benchmark)
|
|
|
a75f05a |
|
|
|
a75f05a |
Primarily written for MySQL server benchmarking, SysBench will be
|
|
|
a75f05a |
further extended to support multiple database backends, distributed
|
|
|
a75f05a |
benchmarks and third-party plug-in modules.
|
|
|
a75f05a |
|
|
|
a75f05a |
|
|
|
a75f05a |
%prep
|
|
|
a75f05a |
%setup -q
|
|
|
f176020 |
rm -r third_party/luajit/luajit/
|
|
|
f176020 |
rm -r third_party/concurrency_kit/ck/
|
|
|
a75f05a |
|
|
|
a75f05a |
%build
|
|
|
f176020 |
export CFLAGS="%{optflags}"
|
|
|
2919188 |
autoreconf -vif
|
|
|
a75f05a |
%configure --with-mysql \
|
|
|
f176020 |
--with-pgsql \
|
|
|
f176020 |
--with-system-ck \
|
|
|
f176020 |
--with-system-luajit
|
|
|
a75f05a |
|
|
|
f176020 |
%make_build
|
|
|
a75f05a |
|
|
|
a75f05a |
%install
|
|
|
f176020 |
%make_install
|
|
|
f176020 |
rm -f %{buildroot}%{_docdir}/sysbench/manual.html
|
|
|
a75f05a |
|
|
|
9bf13dd |
%check
|
|
|
9bf13dd |
cd tests
|
|
|
9bf13dd |
./test_run.sh
|
|
|
a75f05a |
|
|
|
a75f05a |
%files
|
|
|
f176020 |
%doc ChangeLog COPYING README.md
|
|
|
f176020 |
%license COPYING
|
|
|
a75f05a |
%{_bindir}/*
|
|
|
f176020 |
%{_datadir}/%{name}
|
|
|
a75f05a |
|
|
|
a75f05a |
|
|
|
a75f05a |
%changelog
|
|
|
cfd77b9 |
* Sun Feb 26 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.3-1
|
|
|
cfd77b9 |
- Update to 1.0.3 (RHBZ#1424670).
|
|
|
cfd77b9 |
|
|
|
9bf13dd |
* Sat Feb 25 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.2-2
|
|
|
9bf13dd |
- Run test suite.
|
|
|
9bf13dd |
|
|
|
c01e4db |
* Sat Feb 25 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.2-1
|
|
|
c01e4db |
- Update to 1.0.2 (RHBZ#1424670).
|
|
|
c01e4db |
|
|
|
f176020 |
* Sun Feb 12 2017 Honza Horak <hhorak@redhat.com> - 1.0.0-1
|
|
|
f176020 |
- Update to the first proper release 1.0.0
|
|
|
f176020 |
|
|
|
91525a8 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.12-15
|
|
|
91525a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
91525a8 |
|
|
|
741d0e8 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.12-14
|
|
|
741d0e8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
741d0e8 |
|
|
|
ba6735f |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-13
|
|
|
ba6735f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
ba6735f |
|
|
|
0f2a9da |
* Thu Sep 04 2014 Xavier Bachelot <xavier@bachelot.org> 0.4.12-12
|
|
|
0f2a9da |
- Modernize specfile.
|
|
|
0f2a9da |
|
|
|
9e6ae4a |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-11
|
|
|
9e6ae4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
9e6ae4a |
|
|
|
508c1f4 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-10
|
|
|
508c1f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
508c1f4 |
|
|
|
31d3a51 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-9
|
|
|
31d3a51 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
31d3a51 |
|
|
|
9ea8b8b |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-8
|
|
|
9ea8b8b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
9ea8b8b |
|
|
|
9bafc16 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-7
|
|
|
9bafc16 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
9bafc16 |
|
|
|
99866f0 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-6
|
|
|
99866f0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
99866f0 |
|
|
|
7adb7ad |
* Tue Sep 06 2011 Xavier Bachelot <xavier@bachelot.org> 0.4.12-5
|
|
|
7adb7ad |
- Add BR: libaio-devel (rhbz#735882).
|
|
|
7adb7ad |
|
|
|
9b350a3 |
* Wed Mar 23 2011 Dan HorĂ¡k <dan@danny.cz> - 0.4.12-4
|
|
|
9b350a3 |
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
|
|
|
9b350a3 |
|
|
|
5201c37 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.12-3
|
|
|
5201c37 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
5201c37 |
|
|
|
053b8a3 |
* Fri Dec 24 2010 Xavier Bachelot <xavier@bachelot.org> 0.4.12-2
|
|
|
053b8a3 |
- Rebuild against new mysql.
|
|
|
053b8a3 |
|
|
|
1d5b8b5 |
* Wed Jul 07 2010 Xavier Bachelot <xavier@bachelot.org> 0.4.12-1
|
|
|
2919188 |
- Update to 0.4.12.
|
|
|
2919188 |
|
|
|
f34e9da |
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.4.10-5
|
|
|
f34e9da |
- rebuilt with new openssl
|
|
|
f34e9da |
|
|
|
ed62ee3 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.10-4
|
|
|
ed62ee3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
ed62ee3 |
|
|
|
9616b91 |
* Wed Mar 18 2009 Xavier Bachelot <xavier@bachelot.org> 0.4.10-3
|
|
|
9616b91 |
- License is GPLv2+, not GPLv2.
|
|
|
9616b91 |
|
|
|
a75f05a |
* Sat Mar 14 2009 Xavier Bachelot <xavier@bachelot.org> 0.4.10-2
|
|
|
a75f05a |
- Make postgres support optional, the version in rhel4 is too old.
|
|
|
a75f05a |
- Drop TODO and manual.html from %%doc, they are empty.
|
|
|
a75f05a |
|
|
|
a75f05a |
* Thu Mar 05 2009 Xavier Bachelot <xavier@bachelot.org> 0.4.10-1
|
|
|
a75f05a |
- Adapt original spec file taken from PLD.
|