Page 1 of 4 123 ... LastLast
Results 1 to 10 of 38

Thread: Tutorial : Reduce oscam cpu (affected by cache-ex)

  1. #1

    Tutorial : Reduce oscam cpu (affected by cache-ex)

    INTRODUCTION:

    Many board members know I have a large OSCAM cache (6k+). With large cache sizes usually means alot of CPU usage, especially for Cache EX mode 3. I have tried many OSCAM bins but all have same behaviour due to nature of how mode 3 cacheex works.

    Config:

    I have tested the following on Ubuntu but the methods should be applicable to all unix OS. If you are running multiple OSCAM per server then make sure the following "NICE" property is set in oscam.conf.

    NICE = -1

    Nice values range from 20 to -20. 20 = low priority, -20 = high priority.

    If you have an oscam just for cache sharing then make sure the "nice=-1". If you are running other OSCAM or other CAMs on your UBUNTU then set "nice = -19" for those.

    Effect

    The above settings will ensure that when you are limited on CPU cycles then most of the CPU power will be given to actual CAMs (CSPs, CCcam, etc) which should prevent from clients seeing freezing/glitches and your cache exchange oscam will have lower priority.

    CONCLUSION

    Above are the best settings I have experimented with and should help with CPU throttling across OSCAMs and different CAMS.

  2. #2
    Moderator TV_LICENCE's Avatar
    Join Date
    31-12-2006
    Location
    somewhere
    Posts
    615
    Uploads
    0

    Re: Tutorial : Reduce oscam cpu (affected by cache-ex)

    hi
    I believe if you have at least pentium 4, before you should bother about CPU usage you will get into pipe limitation


  3. #3

    Re: Tutorial : Reduce oscam cpu (affected by cache-ex)

    Quote Originally Posted by TV_LICENCE View Post
    hi
    I believe if you have at least pentium 4, before you should bother about CPU usage you will get into pipe limitation


    I have core i7 and i do run into CPU bottle neck with my oscams! using the above has greatly help prioritise the CPU cycles.

  4. #4
    Moderator TV_LICENCE's Avatar
    Join Date
    31-12-2006
    Location
    somewhere
    Posts
    615
    Uploads
    0

    Re: Tutorial : Reduce oscam cpu (affected by cache-ex)

    the screenshot above is using not clocked q9450
    just curious what is your i7 model nr exact Ubuntu Version and how many oscam instances or/ and other emu running at the same time?

  5. #5
    Moderator CapNCooK's Avatar
    Join Date
    10-03-2012
    Location
    Earth
    Posts
    317
    Uploads
    4

    Re: Tutorial : Reduce oscam cpu (affected by cache-ex)

    It's difficult to compare CPU usage from server to server, since this is direcly related to settings like cacheex_maxhop=, filters etc, groups etc.
    One thing is for sure, Oscam does need most CPU resources for cache-ex forwarding.

    Also take note, that the nice= setting has different effects across different types of CPU's / systems.

    --

    An update for oscam which improves cache-flow vs. cpu-usage is underway.
    This update will not directly lower CPU resources, but spreads the load better upon the available cpu threads.

    Also oscam's garbage collector is improved, as this is currently limiting cacheflow and creating queue's.

    more to come.

  6. #6
    Moderator TV_LICENCE's Avatar
    Join Date
    31-12-2006
    Location
    somewhere
    Posts
    615
    Uploads
    0

    Re: Tutorial : Reduce oscam cpu (affected by cache-ex)

    as I said earlier screenshot above is from my q9450 .... these days it is quite moderate and many would say obsolete CPU

    besides on same PC I run Apache as test web server, Play some shooters plus some other small every day tasks

    I simply do not understand how Oscam may use ALL MY CPU RESOURCES?
    before that could possibly happen they will all (Oscams) crash because of pipe limit.

  7. #7

    Re: Tutorial : Reduce oscam cpu (affected by cache-ex)

    Quote Originally Posted by TV_LICENCE View Post
    as I said earlier screenshot above is from my q9450 .... these days it is quite moderate and many would say obsolete CPU

    besides on same PC I run Apache as test web server, Play some shooters plus some other small every day tasks

    I simply do not understand how Oscam may use ALL MY CPU RESOURCES?
    before that could possibly happen they will all (Oscams) crash because of pipe limit.

    are you running cache ex3 on your oscam? if so what is your max hop size, number of users and cache size?

  8. #8
    Moderator TV_LICENCE's Avatar
    Join Date
    31-12-2006
    Location
    somewhere
    Posts
    615
    Uploads
    0

    Re: Tutorial : Reduce oscam cpu (affected by cache-ex)

    I believe I asked you a question before ..... but you even do not bother to reply

  9. #9
    Moderator CapNCooK's Avatar
    Join Date
    10-03-2012
    Location
    Earth
    Posts
    317
    Uploads
    4

    Re: Tutorial : Reduce oscam cpu (affected by cache-ex)

    Quote Originally Posted by TV_LICENCE View Post
    I believe I asked you a question before ..... but you even do not bother to reply
    To who are you talking now.. ?

  10. #10
    Moderator TV_LICENCE's Avatar
    Join Date
    31-12-2006
    Location
    somewhere
    Posts
    615
    Uploads
    0

    Re: Tutorial : Reduce oscam cpu (affected by cache-ex)

    I was talking to tommys1

Page 1 of 4 123 ... LastLast

Similar Threads

  1. Update Tutorial: CACHE EX v2.0
    By CapNCooK in forum OSCam Tutorials
    Replies: 2
    Last Post: 09-04-2015, 18:43:33
  2. New Oscam cache - fast/stable/24-7 server - cache mode 3
    By tommys1 in forum OSCam CACHE-EX Exchange
    Replies: 11
    Last Post: 22-11-2013, 20:25:53
  3. Question Updated Cache-ex tutorial
    By choakem in forum OSCam Cache-EX Configuration
    Replies: 0
    Last Post: 19-12-2012, 07:51:40
  4. Update Tutorial: CACHE EX v2.0
    By CapNCooK in forum OSCam Cache-EX Configuration
    Replies: 0
    Last Post: 23-08-2012, 03:33:13

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •