Jump to content
vasek00

Torrserv на Peak

Recommended Posts

Peak 37B2 два канала по 100 провода. Тест Torrserv на одном из них 100Миб, FHD фильм 20GB и потоком до 24Мбит.

https://github.com/YouROK/TorrServer/releases/tag/1.1.77
Ставим например в /opt/home и запуск тогда будет (обратить внимание на пути) порт например 8086

Скрытый текст
S120torserv


#!/bin/sh
ENABLED=yes
PROCS=TorrServer-arm
ARGS="-p 8086"
PREARGS=""
DESC=$PROCS
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/home

. /opt/etc/init.d/rc.func




/opt/etc/init.d # ./K120Torserv start
 Starting TorrServer-arm...              done. 
/opt/etc/init.d # ps
...
18314     1 root     S     111m 22.7   1  0.0 TorrServer-arm -p 8086
...

 

Стоит так же AdGuardHome и запущен NTCE в итоге получил по памяти
 

Скрытый текст
/ # free
              total        used        free      shared  buff/cache   available
Mem:         501180      292848       46360         600      161972      168312
Swap:       2620408           0     2620408
/ #

/proc/18314 # cat status
Name:   TorrServer-arm
Umask:  0022
State:  S (sleeping)
Tgid:   18314
Ngid:   0
Pid:    18314
PPid:   1
TracerPid:      0
Uid:    0       0       0       0
Gid:    0       0       0       0
FDSize: 64
Groups:  
VmPeak:   114216 kB
VmSize:   114216 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:     50696 kB
VmRSS:     50696 kB
RssAnon:           41400 kB
RssFile:            9296 kB
RssShmem:              0 kB
VmData:   103944 kB
VmStk:       132 kB
VmExe:      4336 kB
VmLib:         4 kB
VmPTE:       124 kB
VmPMD:        16 kB
VmSwap:        0 kB
Threads:        8
SigQ:   7/1956
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000002
SigCgt: fffffffe7fc1fefd
CapInh: 0000000000000000
CapPrm: 0000003fffffffff
CapEff: 0000003fffffffff
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
Speculation_Store_Bypass:       unknown
Cpus_allowed:   3
Cpus_allowed_list:      0-1
voluntary_ctxt_switches:        20725
nonvoluntary_ctxt_switches:     3567
/proc/18314 #

По монитору WEB показал 60% (307/512) ну тут можно вычесть AdGuardHome и NTCE будет тогда меньше.

 

/proc/18314 # free
              total        used        free      shared  buff/cache   available
Mem:         501180      337860      104804         100       58516      125108
Swap:       2620408       78512     2541896
/proc/18314 #

и с пустя 5минут работы
/proc/18314 # free
              total        used        free      shared  buff/cache   available
Mem:         501180      328228      110052         100       62900      134696
Swap:       2620408       78304     2542104
/proc/18314 #

/proc/18314 # cat /proc/meminfo
MemTotal:         501180 kB
MemFree:          111372 kB
MemAvailable:     136016 kB
Buffers:            3740 kB
Cached:            50428 kB
SwapCached:         2116 kB
Active:           124436 kB
Inactive:         165412 kB
Active(anon):      93796 kB
Inactive(anon):   141984 kB
Active(file):      30640 kB
Inactive(file):    23428 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       2620408 kB
SwapFree:        2542112 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:        235212 kB
Mapped:            36760 kB
Shmem:               100 kB
Slab:              37796 kB
SReclaimable:       8732 kB
SUnreclaim:        29064 kB
KernelStack:        4352 kB
PageTables:         2256 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     2870996 kB
Committed_AS:     744988 kB
VmallocTotal:   263061440 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
/proc/18314 #


/proc/18314 # cat status
Name:   TorrServer-arm
Umask:  0022
State:  S (sleeping)
Tgid:   18314
Ngid:   0
Pid:    18314
PPid:   1
TracerPid:      0
Uid:    0       0       0       0
Gid:    0       0       0       0
FDSize: 256
Groups:  
VmPeak:   319080 kB
VmSize:   319080 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:    239680 kB
VmRSS:    151936 kB
RssAnon:          143684 kB
RssFile:            8252 kB
RssShmem:              0 kB
VmData:   308584 kB
VmStk:       132 kB
VmExe:      4336 kB
VmLib:         4 kB
VmPTE:       516 kB
VmPMD:        16 kB
VmSwap:        0 kB
Threads:        10
SigQ:   7/1956
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000002
SigCgt: fffffffe7fc1fefd
CapInh: 0000000000000000
CapPrm: 0000003fffffffff
CapEff: 0000003fffffffff
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
Speculation_Store_Bypass:       unknown
Cpus_allowed:   3
Cpus_allowed_list:      0-1
voluntary_ctxt_switches:        72981
nonvoluntary_ctxt_switches:     26001

Настройки сервера уменьшен размер кеша с 200 по умолчанию до 100 остальное не трогал.
По монитору WEB показал 69% (355/512) опять же с AdGuardHome и NTCE.

Поток фильма был 18-24Мбит, проблем с просмотром на ПК по VLC не было. Ниже скрин загрузки проца, тычки это переключение на WEB для съема статистики как роутера так и сервиса TorrServer
 

Скрытый текст

184332169_-1.thumb.jpg.bc1cae316e9b3d063a8673bd0b954403.jpg

902729083_-2.jpg.a2c7018ab5c2e76d20e1757799b3498e.jpg

1860875695_-4.jpg.48ed0d80839b467a3b59a166401204db.jpg

1615552025_-3.jpg.ec1ca0022ad06f548bfaacbf9f668dde.jpg

 

 

Edited by vasek00

Share this post


Link to post
Share on other sites

Интересно что показал htop по памяти всего доступной.


    0[|||||||||||||||||||                                            26.7%]   Tasks: 52, 121 thr; 2 running
    1[||||||||||||||||                                               23.2%]   Load average: 1.76 1.54 1.32 
  Mem[|||||||||||||||||||||||||||||||||||||||||||||||||||||||    318M/489M]   Uptime: 2 days, 15:08:47
  Swp[|||                                                      76.4M/2.50G]

  PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
18314 root       20   0  311M  146M  8252 S 34.6 29.9  2:17.05 TorrServer-arm -p 8086
18317 root       20   0  311M  146M  8252 S  7.3 29.9  0:21.66 TorrServer-arm -p 8086
18321 root       20   0  311M  146M  8252 S  7.3 29.9  0:21.96 TorrServer-arm -p 8086
18324 root       20   0  311M  146M  8252 S  5.3 29.9  0:22.36 TorrServer-arm -p 8086
19404 root       20   0  311M  146M  8252 S  5.3 29.9  0:18.56 TorrServer-arm -p 8086
18325 root       20   0  311M  146M  8252 S  4.7 29.9  0:20.41 TorrServer-arm -p 8086
18316 root       20   0  311M  146M  8252 S  1.3 29.9  0:06.34 TorrServer-arm -p 8086

top

Mem: 276300K used, 224880K free, 76K shrd, 8440K buff, 80832K cached
CPU:  0.0% usr  0.0% sys  0.0% nic  100% idle  0.0% io  0.0% irq  0.0% sirq

htop на KN1011


    0[|||||||                                                         8.3%]   Tasks: 42, 100 thr; 1 running
    1[|                                                               0.6%]   Load average: 0.38 0.24 0.14 
    2[||                                                              1.3%]   Uptime: 2 days, 18:38:40
    3[|||                                                             2.6%]
  Mem[||||||||||||||||||||||||||||||||||||||||||||||            95.1M/502M]
  Swp[                                                             0K/512M]

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...