General

Profile

ariveira (Alexandre Riveira)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 2 1 3

Activity

10/29/2014

01:23 PM Ruby Bug #10009: IO operation is 10x slower in multi-thread environment

Following script in python to buy blocking io python x ruby
Results:
ruby without changes TIME_QUANTUM_USEC (100 * 1000)
first..........: 32445253
second.........: 30660119
postgres.......: 61
time...........: 1.5022704 secs
...
ariveira (Alexandre Riveira)
01:13 PM Ruby Bug #10009: IO operation is 10x slower in multi-thread environment
. ariveira (Alexandre Riveira)

09/08/2014

10:57 PM Ruby Bug #9800: Ship 2.1.2 with GC_HEAP_OLDOBJECT_LIMIT_FACTOR of 1.3
The following charts 32bit linux server with 64gb 100 puma aplications and rails 2.3.11. The first chart contains ruby 2.0, the second ruby 2.1 and the third ruby 2.1 with GC_HEAP_OLDOBJECT_LIMIT_FACTOR = 1.3.
I dispose doing tests wi...
ariveira (Alexandre Riveira)

08/16/2014

05:50 PM Ruby Bug #10009: IO operation is 10x slower in multi-thread environment
I added in the uname test script for details kernel / platform
Follow the accompanying tests
tests (test_thread_sche.rb --postgres) in debian-kfreebsd-amd64
ruby 1.9.2
name...........: 9.0-2-amd64 x86_64
processor......: Intel(R...
ariveira (Alexandre Riveira)
03:55 PM Ruby Bug #10009: IO operation is 10x slower in multi-thread environment
I rewrote the test, I created the --tasket --postgres arguments and to use the same test file.
Feel free to change whatever you want.
Soon bring news about the test with futex
ariveira (Alexandre Riveira)

07/15/2014

01:24 AM Ruby Bug #10009: IO operation is 10x slower in multi-thread environment
Hi Eric !
Eric Wong wrote:
> Good to know it works for you. Keep in mind TIME_QUANTUM_USEC=1000 is
What problems do I have?
> ...
In the application do a stress test where 5 threads overload.
I tested 50 and the latency i...
ariveira (Alexandre Riveira)

07/11/2014

10:31 PM Ruby Bug #10009: IO operation is 10x slower in multi-thread environment
Alexandre Riveira wrote:
> Eric Wong wrote:
> ...
Tests completes, my system without changes join stress tests 30 secons for load page, after changes, pages loading in instant all pages loading in less than 1 second.
ariveira (Alexandre Riveira)
08:34 PM Ruby Bug #10009: IO operation is 10x slower in multi-thread environment
Eric Wong wrote:
>
> ...
Hello Eric!!!!
I stayed enjoyed the result of change TIME_QUANTUM_USEC. Changed its value to 1000 only see the results:
ruby 2.
first 17434583
second 2754 <=============
third 16752441
If you have ...
ariveira (Alexandre Riveira)

07/10/2014

06:04 AM Ruby Bug #10009: IO operation is 10x slower in multi-thread environment
Alexandre Riveira wrote:
> information that I consider important
> ...
My results kernel linux BFS/CK + taskset
first 103214331
second 2762 <======
third 24259986
ariveira (Alexandre Riveira)

07/09/2014

01:46 AM Ruby Bug #10009: IO operation is 10x slower in multi-thread environment
information that I consider important
Kernels BFS and ruby 1.9.2 work fine as if applied taskset.
Other kernels like freebsd and macos with ruby 1.9.2 has similar behavior.
http://en.wikipedia.org/wiki/Brain_Fuck_Scheduler
https:/...
ariveira (Alexandre Riveira)

Also available in: Atom