Re: [go-nuts] Realizing SSD random read IOPS

2017-08-07 Thread Manish Rai Jain
e can get the advertised SSD throughput using goroutines. Thanks, Ian, Russ and the Go community in helping solve this problem! On Sat, May 20, 2017 at 5:31 AM, Ian Lance Taylor wrote: > On Fri, May 19, 2017 at 3:26 AM, Manish Rai Jain > wrote: > > > >> It's not obvious

[go-nuts] Realizing SSD random read IOPS

2017-05-16 Thread Manish Rai Jain
Hey guys, We wrote this simple program to try to achieve what Fio (linux program) does. Fio can easily achieve 100K IOPS on an Amazon i3.large instance with NVMe SSD. However, with Go we're unable to achieve anything close to that. https://github.com/dgraph-io/badger-bench/blob/master/randread/

Re: [go-nuts] Realizing SSD random read IOPS

2017-05-16 Thread Manish Rai Jain
On Tue, May 16, 2017 at 11:36 PM, Ian Lance Taylor wrote: > On Tue, May 16, 2017 at 4:59 AM, Manish Rai Jain > wrote: > > > > 3 is slower than 2 (of course). But, 2 is never able to achieve the IOPS > > that Fio can achieve. I've tried other things, to no luck. What

Re: [go-nuts] Realizing SSD random read IOPS

2017-05-16 Thread Manish Rai Jain
ncreasing the number of read requests that can be made concurrently. This would then also ensure that one doesn't need to set GOMAXPROCS to a value greater than number of cores to achieve higher throughput. On Wed, May 17, 2017 at 10:38 AM, Manish Rai Jain wrote: > So, I fixed the rand an

Re: [go-nuts] Realizing SSD random read IOPS

2017-05-16 Thread Manish Rai Jain
t is blocked. > > On Wednesday, 17 May 2017 13:05:49 UTC+10, Manish Rai Jain wrote: >> >> On further thought about GOMAXPROCS, and its impact on throughput: >> >> A file::pread would block the OS thread. Go runs one OS thread per core. >> So, if an OS thread is bloc

Re: [go-nuts] Realizing SSD random read IOPS

2017-05-17 Thread Manish Rai Jain
t; >> >> On May 16, 2017 22:03, "Ian Lance Taylor" wrote: >> >> On Tue, May 16, 2017 at 9:26 PM, Manish Rai Jain >> wrote: >> >> The runtime will spawn a new thread to replace the one that is blocked. >> > >> > Reali

Re: [go-nuts] Realizing SSD random read IOPS

2017-05-19 Thread Manish Rai Jain
milarly, other structs for io_getevents etc. - What's the best way to generate them, so syscall.Syscall would accept these? On Thu, May 18, 2017 at 12:36 AM, Ian Lance Taylor wrote: > On Wed, May 17, 2017 at 12:29 AM, Manish Rai Jain > wrote: > > > >> libaio sounds good

[go-nuts] Invitation to join Golang Struct Community

2023-12-19 Thread Manish Rai Jain
Hey Gophers! I'm Manish, creator of Dgraph, Badger, Ristretto, and Sroar. As a Gopher since 2014, I've always been passionate about our community and how we connect. Let's face it, current chat platforms just don't cut it. They're often cluttered, confusing, and not great for productive convers

[go-nuts] Re: Invitation to join Golang Struct Community

2023-12-21 Thread Manish Rai Jain
h.mn/?vip=manishrj...@gmail.com ) On Tue, Dec 19, 2023 at 7:37 PM, Manish Rai Jain < manishrj...@gmail.com > wrote: > > Hey Gophers! > > > > I'm Manish, creator of Dgraph, Badger, Ristretto, and Sroar. As a Gopher > since 2014, I've always been passionate