After cosd (Class-of-service process) restart, the following syslog messages appear:
May 9 01:30:55 router1 cosd[4710]: %DAEMON-3: cos_scheduler_diff: old(1912), new(1912) are different GRES/Restart Diff: Transmit-rate. Please open a PR to fix this diff May 9 01:30:55 router1 cosd[4710]: %DAEMON-3: cos_scheduler_diff: old(42483), new(42483) are different GRES/Restart Diff: Transmit-rate. Please open a PR to fix this diff
In the dynamic-profile, the scheduler transmit-rate is configured as 3200 kbits:
[MASTER] lab@router1> show configuration dynamic-profiles dhcp class-of-service schedulers scheduler1 Nov 01 09:17:38 transmit-rate 3200; excess-rate proportion 40; buffer-size percent 30; priority low; excess-priority low; drop-profile-map loss-priority any protocol any drop-profile dp1;
But the base unit for transmit-rate is Kbits, so in PFE only 3 kbits value (3200/1000) is pushed as follows:
[MASTER] lab@router1> show class-of-service scheduler-hierarchy interface demux0.1073741824 Nov 01 08:57:04 Interface/ Shaping Guarnteed Guaranteed/ Queue Excess Resource name rate rate Excess weight weight kbits kbits priority high/low ge-0/3/9 980000 ge-0/3/9 RTP 980000 0 1 1 DF 980000 0 Low Low 950 NC 980000 0 Low Low 50 ge-0/3/9-100 150000 6 1 10 ge-0/3/9-100 RTP 980000 0 1 1 DF 980000 0 Low Low 950 NC 980000 0 Low Low 50 demux0.1073741824 12000 0 1 10 DF 12000 3 Low Low 200 AF21 12000 3 Low Low 800 EF 12000 Disabled High High 1
After restart, cosd reads 3000 from kernel but the configured value is 3200, so the difference is reported:
Nov 1 08:47:02.906 router1 cosd[2873]: %DAEMON-3: cos_scheduler_diff: old(3633092182), new(3633092182) are different GRES/Restart Diff: Transmit-rate. Please open a PR to fix this diff Nov 1 08:47:02.908 router1 cosd[2873]: %DAEMON-3: cos_ifl_tc_profile_diff: old ifl demux0.1073741824, new ifl demux0.1073741824, Diff: Scheduler-map during GRES/Restart Please open a PR to fix this diff
These syslog messages are cosmetic and does not impact the system. To avoid them, configure the transmit-rate by 1000. For example, instead of 3200 kbits, the configured value should be 4000 kbits.