Re: [Gluster-users] seq read performance comparion between libgfapi and fuse

2015-05-25 Thread Paul Guo
On Fri, May 22, 2015 at 06:50:40PM +0800, Paul Guo wrote: Hello, I wrote two simple single-process seq read test case to compare libgfapi and fuse. The logic looks like this. char buf[32768]; while (1) { cnt = read(fd, buf, sizeof(buf)); if (cnt == 0)

[Gluster-users] seq read performance comparion between libgfapi and fuse

2015-05-22 Thread Paul Guo
Hello, I wrote two simple single-process seq read test case to compare libgfapi and fuse. The logic looks like this. char buf[32768]; while (1) { cnt = read(fd, buf, sizeof(buf)); if (cnt == 0) break; else if (cnt 0)

Re: [Gluster-users] seq read performance comparion between libgfapi and fuse

2015-05-22 Thread Niels de Vos
On Fri, May 22, 2015 at 06:50:40PM +0800, Paul Guo wrote: Hello, I wrote two simple single-process seq read test case to compare libgfapi and fuse. The logic looks like this. char buf[32768]; while (1) { cnt = read(fd, buf, sizeof(buf)); if (cnt == 0)