public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] syscalls/splice02: Reduce size of the input sequence
@ 2016-08-17 13:27 Yuriy Kolerov
  2016-08-18 11:13 ` Cyril Hrubis
  0 siblings, 1 reply; 2+ messages in thread
From: Yuriy Kolerov @ 2016-08-17 13:27 UTC (permalink / raw)
  To: ltp


This test may take a lot of time on slow FPGA-based targets. Size of
the generated sequence may be reduced from 1-10000000 to seq 1-20000
and in bytes it is still more than SPLICE_SIZE constant from splice02.c:

    #define SPLICE_SIZE (64*1024)

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com>
---
 runtest/syscalls | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-syscalls-splice02-Reduce-size-of-the-input-sequence.patch
Type: text/x-patch
Size: 350 bytes
Desc: not available
URL: <http://lists.linux.it/pipermail/ltp/attachments/20160817/b3421168/attachment.bin>

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

* [LTP] [PATCH] syscalls/splice02: Reduce size of the input sequence
  2016-08-17 13:27 [LTP] [PATCH] syscalls/splice02: Reduce size of the input sequence Yuriy Kolerov
@ 2016-08-18 11:13 ` Cyril Hrubis
  0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2016-08-18 11:13 UTC (permalink / raw)
  To: ltp

Hi!
> This test may take a lot of time on slow FPGA-based targets. Size of
> the generated sequence may be reduced from 1-10000000 to seq 1-20000
> and in bytes it is still more than SPLICE_SIZE constant from splice02.c:
> 
>     #define SPLICE_SIZE (64*1024)

Good catch. It's quite useless to feed the test with more than 64KB and
the seq 1-20000 produces about 100KB.

Pushed, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz

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

end of thread, other threads:[~2016-08-18 11:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-17 13:27 [LTP] [PATCH] syscalls/splice02: Reduce size of the input sequence Yuriy Kolerov
2016-08-18 11:13 ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox