User Tools

Site Tools


constants70

Constants

Dialplan

Starting with version 7.0.0, the ability to adjust / process all called numbers in the SIP Trunk provider has been added. Since some SIP providers depart from the standard record (for example, one provider sent a number starting with a lattice), such a number could not be processed by the rules set on ICS CUBE. Accordingly, to solve this situation, it was necessary to add the possibility of using the pound symbol at the beginning of the number.

The asterisk.rulepattern constant allows you to specify a list of possible characters with which the number begins. By default, the value is _ [0-9 + * #].

ZFS cache configuration

Starting with version 6.1.0, the artificial restriction of the ZFS cache size (Zettabyte File System) in ICS CUBE has been changed. FreeBSD now reserves half of the RAM for the kernel and applications. The second half of the RAM is used for the ZFS cache (ARC - Adaptive Replacement Cache).

ARC has a very low priority for memory queries. If the application requests RAM and the system does not have enough free memory, the kernel of the system reduces ARC by providing the application with the requested memory. The process of returning cache memory to the system is not instantaneous; it may take several seconds and the system will begin to “slow down”.

To be able to change the ARC parameters, it is necessary to go to the <IP address of the ICS CUBE>: <port of the web-interface> / # / const. The following ARC settings are available in this tab:

  • vfs.zfs.arc_max
  • vfs.zfs.arc_meta_limit
  • vfs.zfs.arc_min
  • vfs.zfs.prefetch_disable

Parameter vfs.zfs.arc_max - allows you to set the maximum size of the ARC, specified in megabytes. An empty field means that ICS CUBE uses the default size (<RAM capacity> / 2). If you need to change the size of the ARC, then you must proceed from the following recommendations:

  • for every terabyte of ROM, you need to use 1 GB of ARC.
  • the maximum size of the ARC should not exceed <RAM capacity> - 1GB.

Parameter vfs.zfs.arc_meta_limit - responsible for the size of the part of the ARC spent on storing metadata, is indicated in megabytes. An empty field means that the default size (vfs.zfs.arc_max / 4) is set from the initial definition of arc_max. If the parameter vfs.zfs.arc_max has been changed, it is recommended to change this parameter to the new value vfs.zfs.arc_max divided by 4. It is worth noting that if there are a lot of directories with a large number of files in ICS CUBE (for example: many mailboxes with large number of letters) and the system slows down, it is recommended to set the vfs.zfs.arc_meta_limit parameter to vfs.zfs.arc_max / 2.

Parameter vfs.zfs.arc_min - responsible for the minimum size of the ARC, specified in megabytes. An empty field means that the default size is set (vfs.zfs.arc_meta_limit / 2). If the parameter vfs.zfs.arc_max has been changed, it is recommended to change this parameter to a new value equal to vfs.zfs.arc_meta_limit divided by 2.

ZFS has a file preloading mechanism called zfetch. This mechanism analyzes file reading patterns and tries to predict the results of the next read to reduce application response time. In some cases, zfetch can intensively load the processor and have a scalability limit. In order to disable zfetch, you must specify the value of the vfs.zfs.prefetch_disable parameter as 1.

For the settings made to take effect, it is necessary to reboot the ISC CUBE.

constants70.txt · Last modified: 2020/06/29 13:12 by zog