All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] test-runner: set msize to remove runtime warning
@ 2021-07-27 22:11 James Prestwood
  2021-07-27 22:11 ` [PATCH 2/2] auto-t: fix blacklist test ranking James Prestwood
  2021-07-28 14:33 ` [PATCH 1/2] test-runner: set msize to remove runtime warning Denis Kenzior
  0 siblings, 2 replies; 3+ messages in thread
From: James Prestwood @ 2021-07-27 22:11 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]

Newer QEMU version warn that msize is set too low and may result
in poor IO performance. The default is 8KiB which QEMU claims is
too low. Explicitly setting to 10KiB removes the warning:

qemu-system-x86_64: warning: 9p: degraded performance: a
reasonable high msize should be chosen on client/guest side
(chosen msize is <= 8192).
See https://wiki.qemu.org/Documentation/9psetup#msize for details.
---
 tools/test-runner | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/test-runner b/tools/test-runner
index bc37b80c..98164f7a 100755
--- a/tools/test-runner
+++ b/tools/test-runner
@@ -1364,7 +1364,7 @@ def run_tests():
 	config.ctx = TestContext(args)
 
 	if args.log:
-		mount('logdir', args.log, '9p', 0, 'trans=virtio,version=9p2000.L')
+		mount('logdir', args.log, '9p', 0, 'trans=virtio,version=9p2000.L,msize=10240')
 		# Clear out any log files from other test runs
 		for f in glob('%s/*' % args.log):
 			print("removing %s" % f)
-- 
2.31.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-28 14:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27 22:11 [PATCH 1/2] test-runner: set msize to remove runtime warning James Prestwood
2021-07-27 22:11 ` [PATCH 2/2] auto-t: fix blacklist test ranking James Prestwood
2021-07-28 14:33 ` [PATCH 1/2] test-runner: set msize to remove runtime warning Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.