nyancat3 / private-isu-practice

MIT License
1 stars 0 forks source link

Increase Unicorn worker processes #2

Closed nyancat3 closed 1 week ago

nyancat3 commented 1 week ago

Initial

{"pass":true,"score":5519,"success":4704,"fail":0,"messages":[]}
nyancat3 commented 1 week ago

After applying a PR

{"pass":true,"score":13850,"success":12537,"fail":0,"messages":[]}

top command: using 4 isucon processes

top - 22:38:19 up  1:28,  6 users,  load average: 4.13, 1.68, 0.67
Tasks: 195 total,   4 running, 191 sleeping,   0 stopped,   0 zombie
%Cpu(s): 79.4 us, 18.2 sy,  0.0 ni,  0.0 id,  0.2 wa,  0.0 hi,  2.2 si,  0.0 st
MiB Mem :   3808.1 total,    485.1 free,   1508.8 used,   1994.9 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used.   2299.4 avail Mem

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
   3321 mysql     20   0 1829952 580096  35712 S  58.8  14.9   2:39.35 mysqld
   9501 root      20   0  343708 104532  67072 R  45.5   2.7   0:51.65 unattended-upgr
   6902 isucon    20   0  615496  68888   9600 R  20.9   1.8   0:18.38 ruby
   6899 isucon    20   0  624980  78476   9600 S  20.3   2.0   0:18.82 ruby
   6908 isucon    20   0  626208  79696   9600 R  18.9   2.0   0:17.98 ruby
   6904 isucon    20   0  625348  78972   9600 S  15.0   2.0   0:18.29 ruby