00:03:07  * AvianFluquit (Quit: Leaving)
00:03:43  <luvit-bb>build #846 of virgo-ubuntu10.04_x64 is complete: Failure [failed integration tests] Build details are at https://virgo-bb.k1k.me/builders/virgo-ubuntu10.04_x64/builds/846
01:02:40  * tsingjoined
01:04:02  * xmingquit (Ping timeout: 245 seconds)
03:00:16  * xmingjoined
03:04:51  * xmingquit (Ping timeout: 265 seconds)
05:01:58  * xmingjoined
06:48:52  * xmingquit (Read error: Connection reset by peer)
08:10:12  * hij1nxquit (Quit: hij1nx)
08:47:29  * xmingjoined
09:15:16  * xmingquit (Changing host)
09:15:16  * xmingjoined
09:40:14  * hij1nxjoined
09:58:15  * xmingquit (Ping timeout: 248 seconds)
09:59:07  * xmingjoined
09:59:57  * xmingquit (Client Quit)
10:39:40  * mmaleckijoined
10:45:55  * mmaleckiquit (Quit: leaving)
11:34:03  * tsingquit (Quit: Linkinus - http://linkinus.com)
11:34:22  * hij1nxquit (Quit: hij1nx)
12:03:36  <luvit-bb>build #847 of virgo-ubuntu10.04_x64 is complete: Failure [failed integration tests] Build details are at https://virgo-bb.k1k.me/builders/virgo-ubuntu10.04_x64/builds/847
12:03:49  <luvit-bb>build #515 of virgo-rhel6.1_x64 is complete: Failure [failed integration tests] Build details are at https://virgo-bb.k1k.me/builders/virgo-rhel6.1_x64/builds/515
12:07:00  <luvit-bb>build #837 of virgo-windows2008_x64 is complete: Failure [failed integration tests] Build details are at https://virgo-bb.k1k.me/builders/virgo-windows2008_x64/builds/837
12:52:42  * xmingjoined
13:00:34  * hij1nxjoined
13:25:03  * AvianFlujoined
13:26:49  * mmaleckijoined
13:30:03  * hij1nxquit (Quit: hij1nx)
13:57:03  * tsingjoined
14:23:27  * dvvjoined
14:28:01  * mmaleckiquit (Ping timeout: 244 seconds)
14:48:25  * bakinsjoined
14:49:00  * kevwiljoined
15:48:20  * mmaleckijoined
15:52:51  * tsingquit (Quit: Linkinus - http://linkinus.com)
16:03:29  <creationix>Good morning everyone
16:04:29  <creationix>rphillips, philips I finished a simple libuv mock database
16:05:03  <creationix>But my luvit/node clients are maxing out at ~30k queries/second
16:05:27  <creationix>seems really slow for something that just dumps a string on tcp and reads back a string
16:05:34  <creationix>https://gist.github.com/4b71912f266133c69506#file_db.c
16:05:50  <creationix>node and luvit max out 100% CPU and the db uses around 33% of another core
16:20:51  <dvv>hi! what's the size of data?
16:21:48  <rphillips>creationix: perhaps the timer code has a bug
16:23:06  <rphillips>does the C implemention peg at 100% cpu?
16:27:21  <creationix>no, the C side stays cool around 36%
16:27:22  * dvvquit (Ping timeout: 250 seconds)
16:27:28  <creationix>the client is the bottleneck
16:28:05  <creationix>actually talking to the libuv guys they say that 30-40k/second on a single core isn't bad
16:28:13  <creationix>since I'm doing zero concurrency
16:28:18  <creationix>waiting for a response every time
16:28:31  <rphillips>gotcha
16:28:43  <creationix>hmm, no, if I add concurrency it doesn't speed up
16:28:51  <creationix>the client is still pegged at 100% cpu
16:29:38  <creationix>yeah, if I add 8 concurrent clients, it's only about 3% faster
16:31:51  <rphillips>the dns client may be getting calling all the time
16:31:54  <rphillips>called*
16:32:31  <creationix>dns?
16:32:37  <creationix>this is a long running tcp connection
16:32:44  <creationix>only connects once at startup for each worker
16:32:54  <rphillips>oh ok
16:33:46  <rphillips>perhaps we should profile the code and see what it is doing
16:37:29  <creationix>do you know how to profile linux code?
16:37:57  <rphillips>gprof is what you want
16:42:04  <rphillips>creationix: i'm getting 100k requests/second
16:42:06  <rphillips>on osx
16:42:56  <rphillips>luvit is 100% cpu
16:43:30  * dvvjoined
16:48:50  <creationix>100k, nice
16:48:56  <creationix>I guess linux doesn't like this use-case
16:49:00  <rphillips>creationix: instruments on osx shows the client in select_nocancel/read_nocancel/write_nocancel
16:49:08  <rphillips>most of the time
16:49:14  <creationix>yeah, that's hard to avoid
16:49:21  <creationix>maybe we should pipeline more?
16:49:32  <rphillips>yeah, we could try
16:49:34  <rphillips>that
16:50:05  <rphillips>on osx with 4 cores, it's getting balanced between them pretty good
16:50:10  <creationix>bert says that libev isn't as good at this case
16:50:22  <creationix>libuv on windows has a new implementation made just for windows
16:50:27  <creationix>but libev is more generic
16:50:44  <creationix>ben is planning on making a linux-specific backend to libuv sometime
16:50:50  <creationix>using edge-triggered I/O
16:51:31  <rphillips>nice
16:58:39  <luvit-bb>build #848 of virgo-ubuntu10.04_x64 is complete: Failure [failed integration tests] Build details are at https://virgo-bb.k1k.me/builders/virgo-ubuntu10.04_x64/builds/848
16:59:47  * mmaleckiquit (Ping timeout: 240 seconds)
17:00:42  <rphillips>hmm
17:52:03  * dvvquit (Ping timeout: 245 seconds)
18:04:57  * dvvjoined
18:16:38  * hij1nxjoined
18:29:55  <luvit-bb>build #849 of virgo-ubuntu10.04_x64 is complete: Success [build successful] Build details are at https://virgo-bb.k1k.me/builders/virgo-ubuntu10.04_x64/builds/849
18:33:17  <luvit-bb>build #516 of virgo-rhel6.1_x64 is complete: Success [build successful] Build details are at https://virgo-bb.k1k.me/builders/virgo-rhel6.1_x64/builds/516
18:35:56  <luvit-bb>build #838 of virgo-windows2008_x64 is complete: Success [build successful] Build details are at https://virgo-bb.k1k.me/builders/virgo-windows2008_x64/builds/838
18:45:33  <xming>dvv: are you using lua-buf with luvit?
18:51:01  * hij1nxquit (Quit: hij1nx)
18:52:14  <dvv>xming: hi! link, please
18:56:38  * dvvquit (Ping timeout: 252 seconds)
19:00:00  * hij1nxjoined
19:04:57  * hij1nxquit (Remote host closed the connection)
19:05:21  * hij1nxjoined
19:14:15  * AvianFluquit (Ping timeout: 244 seconds)
19:17:32  * hij1nxquit (Ping timeout: 252 seconds)
19:23:13  * AvianFlujoined
19:28:39  * `3rdEdenjoined
19:31:49  <xming>dvv: isn't that you? https://github.com/Neopallium/lua-buf/issues/1
19:32:49  * ljacksonquit (Read error: Operation timed out)
19:33:13  * ljacksonjoined
19:36:49  <xming>dvv: https://github.com/Neopallium/lua-buf
19:52:29  * AvianFluquit (Ping timeout: 244 seconds)
19:54:07  * AvianFlujoined
20:04:19  * bakinsquit (Read error: Connection reset by peer)
20:07:01  * bakinsjoined
20:14:16  * `3rdEdenquit (Quit: Leaving...)
20:31:44  * bakinsquit (Read error: Connection reset by peer)
20:32:17  * bakinsjoined
20:37:53  <CIA-43>Brandon Philips add-exit-code * rf2d1ae8 / (lib/luvit/luvit.lua examples/exit-code.lua): luvit: add process.exitCode - http://git.io/uQy0mQ
20:57:00  <philips>https://github.com/luvit/luvit/pull/221
20:57:18  <philips>rphillips: I implemented the same API in virgo and it makes that scheduler bug return 1 now
20:57:26  <philips>rphillips: For the test cases
20:57:30  <philips>rphillips: I like this solution
21:08:28  <rphillips>philips: +1
21:08:30  <rphillips>nice
21:08:54  <creationix>:)
21:15:27  <philips>rphillips: creationix: Mind if I merge?
21:16:06  <creationix>go for it
21:16:15  <CIA-43>Brandon Philips master * rf2d1ae8 / (lib/luvit/luvit.lua examples/exit-code.lua): luvit: add process.exitCode - http://git.io/uQy0mQ
21:16:15  <CIA-43>Brandon Philips master * r5befa91 / (lib/luvit/luvit.lua examples/exit-code.lua): Merge pull request #221 from luvit/add-exit-code - http://git.io/ufWLIg
21:29:54  * mmaleckijoined
21:30:32  * bakinsquit (Quit: bakins)
22:43:37  * mmalecki_joined
22:46:31  * mmaleckiquit (Ping timeout: 245 seconds)
22:52:29  * mmalecki_quit (Quit: Reconnecting)
22:52:44  * mmaleckijoined
22:58:28  * kevwilquit (Quit: WeeChat 0.3.7)
23:37:08  * mmalecki_joined
23:40:44  * mmaleckiquit (Ping timeout: 244 seconds)
23:41:04  * mmalecki_quit (Client Quit)
23:41:18  * mmaleckijoined
23:46:57  * mmalecki_joined
23:47:01  * mmaleckiquit (Ping timeout: 265 seconds)
23:51:54  * mmaleckijoined
23:53:45  * mmalecki_quit (Ping timeout: 260 seconds)