Oscam Cache-EX Grouping
Over the past few months of using Cache-EX I have noticed that there is a huge waist of resources in pulling & pushing Cache. For example, You might have 10 cacheex peers & you are sending the combined cacheex from all those 10 peers to each & every one of them, even though they might all have the same peers. I have used the grouping feature to send only my local cache to all peers.
Here is what you have to do to achieve this...
1...
Give all oscam Servers a separate group starting with group 1 for your local cache
NOTE: If you are running cacheex on same oscam as main oscam, you might have to make this group 20 or 30 so as not to clash with used groups
e.g.
[reader]
label = oscam1-cacheex
protocol = cccam
device = 127.0.0.1,1234
user = oscam2-cacheex
password = password
cacheex = 3
caid = CAID
ident = CAID:000000
group = 1
dropbadcws = 1
cccversion = 2.1.4
cccmaxhops = 0
cccmindown = 15
ccckeepalive = 1
cccreconnect = 0
audisabled = 1
[reader]
label = cacheex-user1
protocol = cccam
device = dns,portno
user = username
password = password
cacheex = 3
caid = CAID
ident = CAID:000000
group = 2
dropbadcws = 1
cccversion = 2.1.4
cccmaxhops = 0
cccmindown = 15
ccckeepalive = 1
cccreconnect = 0
audisabled = 1
[reader]
label = cacheex-user2
protocol = cccam
device = dns,portno
user = username
password = password
cacheex = 3
caid = CAID
ident = CAID:000000
group = 3
dropbadcws = 1
cccversion = 2.1.4
cccmaxhops = 0
cccmindown = 15
ccckeepalive = 1
cccreconnect = 0
audisabled = 1
Display More
2...
Now assign all oscam Users groups you want to push to them
e.g.
[account]
user = oscam1-cacheex
pwd = password
keepalive = 1
group = 1,2,3,4,5,6,7,8,9,10
cacheex = 3
cacheex_ecm_filter = CAID
cccmaxhops = -1
[account]
user = cacheex-user1
pwd = password
keepalive = 1
group = 1
cacheex = 3
cacheex_ecm_filter = CAID
cccmaxhops = -1
[account]
user = cacheex-user2
pwd = password
keepalive = 1
group = 1
cacheex = 3
cacheex_maxhop = 3
cacheex_ecm_filter = CAID
cccmaxhops = -1
Display More
With above example your local oscam recieves all cacheex, cachex peer 1 & 2 only recieve your local cache..
I think this is a much cleaner way of using cache-EX feature, saving bandwidth & optimizing performance. If you find that another peer has not got one or two of your peers, Just add the relevant groups to his user account.