Results 1 to 10 of 10

Thread: DM500s NewCS and Cache settings

  1. #1
    Premium Member
    Join Date
    Jan 2008
    Posts
    1,558
    Thanks
    65
    Thanked 84 Times in 64 Posts
    Rep Power
    269
    Reputation
    1032

    Default DM500s NewCS and Cache settings

    Can someone kindly please explain cache, and how it operates or improves the performance of the DM500.
    (I know cache is where you store something temporarily)

    Also what are the typical settings and where do you find them for PLI and Gemini images?



Look Here ->
  • #2
    Senior Member gw1's Avatar
    Join Date
    Jan 2008
    Location
    Hobart
    Posts
    957
    Thanks
    49
    Thanked 608 Times in 213 Posts
    Rep Power
    267
    Reputation
    1901

    Default

    In the context of NewCS, the effect of caching is to assist a card so it can better cope with the workload of multiple clients. A good caching system will handle more clients and eliminate glitches that would otherwise occur for various reasons such as clients rapidly channel surfing, tuning into an unsubscribed channel, etc.

    Cache is where a processor keeps a copy of something locally rather than far away where it really belongs. It's like deciding to keep a six pack of beer in your lap rather than getting out of your chair and walking to the fridge for each one. Or like keeping some commonly used phone numbers in your wallet rather than looking them up in the phone book or internet each time you need to use them. Cache has the advantage of saving time and effort, but potential disadvantage of things getting out of date. The beer gets warm. The phone numbers may change without you knowing. The more stuff you keep locally the greater the risk of problem. Strategies and policies can be used to keep the tradeoffs in balance and prevent serious mistakes from happening. That involves planning and complexity, so caching is usually not done unless necessary - unless the consequences of not doing so are a problem.

    NewCS has the job of managing ECM and EMM messages from multiple clients using (typically) only a single card. Some messages can be processed quickly but others take a substantial amount of time. If messages are simply queued up and fed to the card one at a time the card soon falls behind as the number of clients increases, becoming a bottleneck. Each answer must be supplied to a deadline otherwise glitches occur. Caching is about removing the bottleneck as much as possible. Many of the messages are essentially the same question being asked by different clients at the same time, so once the card has provided the answer it doesn't need to be asked again. Caching treats the card as an Oracle whose time is valuable and who is consulted only when needed, when the answer hasn't already been given.

    Different message types need different policies. Some messages are questions that can be answered by paraphrasing what the card said when asked that question previously. The trick with those messages is recognising when the question has changed and needs to be referred to the card. At some point old answers aren't needed any more and a strategy is needed for deciding what information to keep, what to discard, and how to efficiently keep track of past questions and their answers. Other messages are advisories: information to be acknowledged and used in future. Sometimes the advisories might all need to be referred to the card, but duplicates may be too many to process and might need to be acknowledged without the card's help.

    As you can see, caching usually requires an understanding of the meaning of the information being managed, the protocol by which they're sent and received, an awareness of time-sensitivity and priority, and a policy for dealing with errors such as incomplete or corrupt data, late arrival, unexpected duplicates, resending lost replies. The difference between a robust implementation and a flakey one is not usually how big the cache is but how carefully it handles errors.

    NewCS stores its cache settings in its configuration XML file. Different images put configuration files in different places, and you can locate them using either the 'find' command in a terminal shell or by searching the forums for tips and tutorials applicable to your particular image.

    In most cases the default NewCS cache values given in its sample configuration give the best results. Increasing the values will consume more RAM, possibly helping to reduce glitches in certain cases, but quite probably not. The default "auto" setting normally takes care of things. The main reason cache settings are offered for tweaking is because some providers may do unusual things, for example sending messages more frequently or rolling keys more often than the systems which the developer had access to for testing.

  • The Following User Says Thank You to gw1 For This Useful Post:

    digidude (10-05-09)

  • #3
    Premium Member
    Join Date
    Jan 2008
    Posts
    1,558
    Thanks
    65
    Thanked 84 Times in 64 Posts
    Rep Power
    269
    Reputation
    1032

    Default

    Thankyou gw1

    As usual you have given a fantastic explanation.

    The love of learning is a beautiful thing...

  • #4
    Senior Member
    weirdo's Avatar
    Join Date
    Jan 2008
    Posts
    5,458
    Thanks
    4,638
    Thanked 3,135 Times in 1,633 Posts
    Rep Power
    0
    Reputation
    29602

    Default

    Great question checkitout and superb reply by gw1 (again)

  • #5
    Junior Member
    Join Date
    Jan 2008
    Posts
    230
    Thanks
    31
    Thanked 5 Times in 5 Posts
    Rep Power
    0
    Reputation
    37

    Default

    Quote Originally Posted by weirdo View Post
    Great question checkitout and superb reply by gw1 (again)
    We could make a book out of GW1 postings

  • #6
    Senior Member gw1's Avatar
    Join Date
    Jan 2008
    Location
    Hobart
    Posts
    957
    Thanks
    49
    Thanked 608 Times in 213 Posts
    Rep Power
    267
    Reputation
    1901

    Default

    An Austar fraud investigator already did.

    The magistrate didn't like the guy's editorial though and threw it out.

  • #7
    Junior Member digidude's Avatar
    Join Date
    Apr 2008
    Location
    S. Wales. UK
    Posts
    93
    Thanks
    17
    Thanked 1 Time in 1 Post
    Rep Power
    198
    Reputation
    15

    Default

    what a great post m8, rep left

  • #8
    Junior Member
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Reputation
    10

    Default

    thanks for the explaination mate on the other hand how does CCcam caches in dm500s if i were to use it as a reshare server, means no newcs or local card, just reshare F and C lines, cheers mate.

  • #9
    Premium Lager

    Join Date
    Jan 2008
    Age
    60
    Posts
    4,882
    Thanks
    1,635
    Thanked 2,711 Times in 1,230 Posts
    Rep Power
    1174
    Reputation
    40746

    Default

    Quote Originally Posted by shahjees View Post
    thanks for the explaination mate on the other hand how does CCcam caches in dm500s if i were to use it as a reshare server, means no newcs or local card, just reshare F and C lines, cheers mate.
    would it reshare????

  • #10
    Junior Member
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Reputation
    10

    Default

    Quote Originally Posted by porkop View Post
    would it reshare????
    yes it does, i reshare couple of N and C lines ..

  • Bookmarks

    Posting Permissions

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