× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
funfun reported 2012-10-27T23:47:38Z  · NielsGron last modified 2012-11-07T00:22:22Z

Performance problem on command pipeline


Dev
Fun Fun
funfun
QA
Niels Gron
NielsGron
Priority Low
Complexity Unknown
Component App - FluidShell
Version 12.0

This issue is to follow up the test case below mentioned in issue #7803:
   :$ cat enwiki-20121001-pages-articles-multistream-index.txt2 | grep oracle
   // 1m 26 seconds in FluidShell.
   // 2 second in Ubuntu/Bash
I replaced the test case above as
   :$ cat enwiki-20121001-pages-articles-multistream-index.txt2 | grep pattern-match-nothing
so that nothing will be written to FS terminal.

I tried above test case on my desktop (file size is 567,746,536 bytes) and measured CPU statistics using Java VisualVM; result shows I/O on pipeline consumes half of the test time; why? we need to look into this.

Profiling result shows 1/3 of the overall time is consumed by \grep on read, \grep uses non-buffered I/O to read input from standard input which can be imporved with buffered I/O if \grep is executed inside a pipeline.

1 attachment

Issue #7875

Closed
Fixed
Resolved 2012-11-04T01:15:20Z
 
 
Completion
No due date
Fixed Build trunk/30034
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017