Sync from SUSE:ALP:Source:Standard:1.0 bonnie revision 24543d58653dad756d27171ff3542e3c
This commit is contained in:
commit
58af0d47c7
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
bonnie-1.6.tar.bz2
(Stored with Git LFS)
Normal file
BIN
bonnie-1.6.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
27
bonnie-fix-o_direct.diff
Normal file
27
bonnie-fix-o_direct.diff
Normal file
@ -0,0 +1,27 @@
|
||||
? bonnie2
|
||||
Index: Bonnie.c
|
||||
===================================================================
|
||||
RCS file: /share/MD0_DATA/cvsroot/C/bonnie/Bonnie.c,v
|
||||
retrieving revision 1.5
|
||||
retrieving revision 1.6
|
||||
diff -u -p -r1.5 -r1.6
|
||||
--- Bonnie.c 17 Feb 2016 13:09:47 -0000 1.5
|
||||
+++ Bonnie.c 23 Nov 2018 09:45:08 -0000 1.6
|
||||
@@ -64,7 +64,7 @@
|
||||
* or consequential damage, loss, costs or fees or expenses of any
|
||||
* nature or kind.
|
||||
*/
|
||||
-/* $Id: Bonnie.c,v 1.5 2016/02/17 13:09:47 garloff Exp $ */
|
||||
+/* $Id: Bonnie.c,v 1.6 2018/11/23 09:45:08 garloff Exp $ */
|
||||
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
@@ -449,7 +449,7 @@ int main(
|
||||
|
||||
/* read them all back with getc() */
|
||||
for(volcnt = 0; volcnt < volumes; volcnt++)
|
||||
- newfile(name, &fd[volcnt], &stream[volcnt], 0, volcnt, o_direct);
|
||||
+ newfile(name, &fd[volcnt], &stream[volcnt], 0, volcnt, 0/*+o_direct*/);
|
||||
for (words = 0; words < 256; words++)
|
||||
chars[words] = 0;
|
||||
off_t gsz = size/8;
|
138
bonnie.changes
Normal file
138
bonnie.changes
Normal file
@ -0,0 +1,138 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 5 08:10:10 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
- Do not use download url anymore
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 17 14:50:53 UTC 2019 - Richard Brown <rbrown@suse.com>
|
||||
|
||||
- Remove obsolete Groups tag (fate#326485)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 11 11:17:49 CET 2019 - kurt@garloff.de
|
||||
|
||||
- bonnie-fix-o_direct.diff: Don't use O_DIRECT for character input,
|
||||
as newer kernels don't allow this.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 11 11:17:02 CET 2019 - kurt@garloff.de
|
||||
|
||||
- Update to bonnie-1.6:
|
||||
* Use 16 threads by default
|
||||
* Smaller 4k reads (seeking)
|
||||
* Larger blocks in intelligent read/write
|
||||
* Smaller I/O size for char in/out
|
||||
* More digits for formatting.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 30 13:21:33 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Use url for source
|
||||
- Tiny spec file cleanups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 9 10:56:17 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Cleanup spec file with spec-cleaner
|
||||
- Remove ctcs packages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 1 16:48:56 CET 2012 - jeffm@suse.de
|
||||
|
||||
- Update to 1.5: Minor changes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 21 07:10:59 UTC 2011 - coolo@suse.com
|
||||
|
||||
- disable ctcs for > 11.4, not available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 17 20:27:30 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections from specfile
|
||||
- Use %_smp_mflags for parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 30 15:29:18 UTC 2009 - aj@suse.de
|
||||
|
||||
- Fix last change.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 26 12:53:54 CEST 2009 - mls@suse.de
|
||||
|
||||
- make patch0 usage consistent
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 26 18:31:00 CEST 2008 - vmarsik@suse.cz
|
||||
|
||||
- added subpackage for CTCS2 integration
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 26 07:18:49 CEST 2008 - coolo@suse.de
|
||||
|
||||
- remove unused header file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 22 17:21:45 CEST 2006 - schwab@suse.de
|
||||
|
||||
- Don't build as root.
|
||||
- Don't strip binaries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 19 15:27:05 CEST 2006 - ro@suse.de
|
||||
|
||||
- fix build on ppc64 (define PAGE_MASK if not done)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:34:43 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 4 15:16:23 MEST 2002 - garloff@suse.de
|
||||
|
||||
- Version-1.4:
|
||||
* Fix seek benchmark: 1.3 read too large chunks (1MB instead
|
||||
of 16k) after every seek, resulting in too low seek numbers.
|
||||
bug #15642
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 23 23:20:39 CET 2002 - garloff@suse.de
|
||||
|
||||
- Compile fix for archs not supporting O_DIRECT (typo)
|
||||
- Use O_DIRECT from fcntl.h if present.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 20 19:31:46 MET 2002 - garloff@suse.de
|
||||
|
||||
- Update to bonnie-1.3:
|
||||
* Fixed HTML output (thanks to Rupert Kolb for notfying/patch)
|
||||
* Optionally use O_DIRECT (patch by Chris Mason / Andrea Arc.)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 30 19:35:37 CEST 2000 - garloff@suse.de
|
||||
|
||||
- Update to 1.2:
|
||||
* New option -u for getc_/putc_unlocked.
|
||||
* Fixed CPU percentage reports if equal or in excess of 100%.
|
||||
* Machine name defaults to hostname now.
|
||||
- Use BuildRoot.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 13 23:31:57 CET 2000 - garloff@suse.de
|
||||
|
||||
- Moved manpage to /usr/share/man
|
||||
- new options -y, -S, -p
|
||||
- Add warning if test-size smaller memsize
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 20 16:48:46 CEST 1999 - garloff@suse.de
|
||||
|
||||
- Initial check in of Big Bonnie.
|
||||
- Added breakhandler to remove temporary files.
|
||||
|
47
bonnie.spec
Normal file
47
bonnie.spec
Normal file
@ -0,0 +1,47 @@
|
||||
#
|
||||
# spec file for package bonnie
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: bonnie
|
||||
Version: 1.6
|
||||
Release: 0
|
||||
Summary: File System Benchmark
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://code.google.com/p/bonnie-64/
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Patch0: bonnie-fix-o_direct.diff
|
||||
|
||||
%description
|
||||
Bonnie is a popular performance benchmark that targets various aspects
|
||||
of Unix file systems.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
%patch0
|
||||
|
||||
%build
|
||||
make SYSFLAGS="%{optflags}" %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%doc bonnie.doc README
|
||||
%{_bindir}/bonnie
|
||||
%{_mandir}/man1/bonnie.1%{?ext_man}
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user