Author Topic: tmux article processing speed  (Read 1121 times)

Offline phirestalker

  • Junior Indexer
  • **
  • Posts: 49
  • Helpful: +0/-0
tmux article processing speed
« on: 2017-03-13, 01:45:44 PM »
I just moved my mysql server to another machine on my 1Gb network, so I was watching tmux monitor closely. I noticed that when I first start watching with tmux attach, it takes up to 30s to process collection and insert binaries/parts. After a few lines it tears through at .30 or so for each. So, for some reason ONLY a watched pot boils here.

My guess is that it has to do with niceness. By watching it, I am bringing it to the foreground and therefore it has higher priority in the sheduler.

My question then, unless someone has a better idea of what it is, how do I change the niceness of the tmux scripts that are started with start.php?

Offline kaibosh

  • Overlord
  • ******
  • Posts: 159
  • Helpful: +18/-0
Re: tmux article processing speed
« Reply #1 on: 2017-03-14, 12:53:06 AM »
Article processing speed is dependent on several factors:
 - Network bandwidth
 - Max header and header compression settings (site-edit)
 - USP service time (may vary by group)
 - Blacklist processing
 - minfilestoformrelease, minsizetoformrelease settings (group-edit)
 - DB row insertion speed: MyISAM>InnoDynamic>InnoCompressed
 - Niceness, especially if server is running other apps.

The nice level of tmux scripts can be set in the admin/tmux-edit.php page.

Offline phirestalker

  • Junior Indexer
  • **
  • Posts: 49
  • Helpful: +0/-0
Re: tmux article processing speed
« Reply #2 on: 2017-03-14, 08:29:15 AM »
ya I found that, however in top the php7.0 processes for the scripts still have a niceness of 19. I stopped and started the scripts, but I didn't kill the tmux session. Do I need to kill the tmux session or reboot the server?