Re: [go-nuts] Re: Perf : Multithreaded goroutines files I/O

2018-09-17 Thread Thomas S
Thank you ! -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Re: [go-nuts] Re: Perf : Multithreaded goroutines files I/O

2018-09-17 Thread Henrik Johansson
Perhaps you can try https://github.com/avikivity/diskplorer to estimate how many readers you should optimally create. mån 17 sep. 2018 kl 11:33 skrev Thomas S : > Is my time display method wrong ? > > t := time.Now() > // Process > fmt.Println(time.Since(t)) > > > > Le dimanche 16 septembre 2018

Re: [go-nuts] Re: Perf : Multithreaded goroutines files I/O

2018-09-17 Thread Thomas S
Is my time display method wrong ? t := time.Now() // Process fmt.Println(time.Since(t)) Le dimanche 16 septembre 2018 22:54:33 UTC+2, Michael Jones a écrit : > > don't be confused about internal process time and external wall clock time > here. > > On Sun, Sep 16, 2018 at 11:27 AM Thomas Solign

Re: [go-nuts] Re: Perf : Multithreaded goroutines files I/O

2018-09-16 Thread Michael Jones
don't be confused about internal process time and external wall clock time here. On Sun, Sep 16, 2018 at 11:27 AM Thomas Solignac wrote: > I think the concurrent read overhead compensates the process > parallelization ! > > Both files are in attachment. > > Thank you for helping :-) > > > > Le d

[go-nuts] Re: Perf : Multithreaded goroutines files I/O

2018-09-16 Thread Thomas Solignac
I think the concurrent read overhead compensates the process parallelization ! Both files are in attachment. Thank you for helping :-) Le dimanche 16 septembre 2018 20:02:33 UTC+2, Marc Zahn a écrit : > > You mean, loading the files in parallel take the ~same time as loading > them sequentia

[go-nuts] Re: Perf : Multithreaded goroutines files I/O

2018-09-16 Thread marc . zahn
You mean, loading the files in parallel take the ~same time as loading them sequentially? It seems that there is somewhere else a bottleneck... Am Sonntag, 16. September 2018 14:08:50 UTC+2 schrieb Thomas Solignac: > > Hello, > > I have a loading step, where I have something like 60 files to read