Accepting request 667059 from home:garloff:branches:benchmark
- bonnie-fix-o_direct.diff: Don't use O_DIRECT for character input, as newer kernels don't allow this. - 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. OBS-URL: https://build.opensuse.org/request/show/667059 OBS-URL: https://build.opensuse.org/package/show/benchmark/bonnie?expand=0&rev=6
This commit is contained in:
parent
6bb11f12e9
commit
517b063933
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:eae780a2025cda86809537d5be75988f082b99b55da7cec9342060ed4f2a9f5a
|
|
||||||
size 19689
|
|
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;
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jun 30 13:21:33 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bonnie
|
# spec file for package bonnie
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,13 +17,14 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: bonnie
|
Name: bonnie
|
||||||
Version: 1.5
|
Version: 1.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: File System Benchmark
|
Summary: File System Benchmark
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: System/Benchmark
|
Group: System/Benchmark
|
||||||
Url: https://code.google.com/p/bonnie-64/
|
Url: https://code.google.com/p/bonnie-64/
|
||||||
Source0: https://fossies.org/linux/privat/old/%{name}-%{version}.tar.bz2
|
Source0: https://fossies.org/linux/privat/old/%{name}-%{version}.tar.bz2
|
||||||
|
Patch0: bonnie-fix-o_direct.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -32,6 +33,7 @@ of Unix file systems.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}
|
%setup -q -n %{name}
|
||||||
|
%patch0 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make SYSFLAGS="%{optflags}" %{?_smp_mflags}
|
make SYSFLAGS="%{optflags}" %{?_smp_mflags}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user