0% hit --> delete ... its time to setup oscam correctly

LiNuX-SaT

Administrator
Staff member
Ofline
hi all,

you often see that "0% hit --> delete" comment in the oscam exchanging threads.
also most people that state "0% hit --> delete" complain about low or no hits.
its time to setup oscam correctly!
in nearby all cases the "wait_time" cache parameter in "oscam.conf" is not configured correctly.
to set this option correctly you have to know about the CWC handling of the cards and the encryption systems e.g. IRDETO, NDS ...
I am not going to deep into theory but just give a short explanation about this parameter


awtime --> oscam allways waits that time for a CW to apear in its cache (always wait time)
dwtime --> if oscam hits a CW in its cache then after that oscam will wait dwtime time in cache (dynamic wait time)
its a kind of adaption mechanism oscam uses to reduce load on its proxies/cards

lets look at this example

first scenario:
awtime is 200ms
dwtime is 500ms
oscam gets a reqeust for a CW
oscam starts to wait 200ms for a CW to apear in its cache
if a CW apears in cache within 200ms then oscam hits the cache and replies with that CW.

second scenario:
awtime is 200ms
dwtime is 500ms
oscam gets a reqeust for a CW
oscam starts to wait 200ms for a CW to apear in its cache
no CW apears in cache within 200ms
oscam sends a CW requeust to its proxy/card
at the same time oscam still waits in its cache for the CW to apear
CW apears in cache after 400ms
now in the following CW request oscam will wait 400ms for the CW to apear in its cache (and up to 500ms) before forwarding the request to its proxy/card

here are some suggestions for some popular CAIDs

you can put them together just like in the example below
for caid 0100, 0500, 0B00 and 0B01 the configuration for wait_time will be

cheers!
 
Back
Top