29.11.2012 Views

About Omneon MediaGrid - Harmonic Inc

About Omneon MediaGrid - Harmonic Inc

About Omneon MediaGrid - Harmonic Inc

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

To configure the amount of memory used for the cache memory limit:<br />

System Configuration<br />

IMPORTANT: The default value for this parameter is sufficient in most cases. If you are unsure of whether<br />

you should change it, please contact <strong>Omneon</strong> Technical Support for assistance.<br />

1. Type the following command:<br />

sudo sysctl -w debug.omfs_cacheMaxMem = NNN<br />

The memory used, shown as “NNN” is specified in megabytes.<br />

2. Set the memory to the desired value.<br />

Specifying Buffer Memory for Linux Clients<br />

To configure the amount of memory used for ReadAhead buffering:<br />

1. Type the following command:<br />

mount –t omfs /mediagrid/filesys /mnt<br />

-o username=username,password=password,readahead=2<br />

The memory used is specified in units of slices.<br />

2. Set the memory to the desired value.<br />

The above command reserves 2 slices worth of memory for each file that is opened (2 slices for<br />

ReadAhead buffers). The default ReadAhead value is 3 slices. For files using a slice size of 8MB, the<br />

above command would reserve 16MB; the default value would reserve 24MB of memory per file.<br />

Reducing this value increases the number of simultaneously active files an application can use, but<br />

reduces performance. <strong>Inc</strong>reasing it may improve performance for some workflows.<br />

See the latest <strong>Omneon</strong> <strong>MediaGrid</strong> Release Notes for Linux FSD for the currently supported range of<br />

readahead values.<br />

To configure the amount of memory used for the cache memory limit:<br />

IMPORTANT: The default value for this parameter is sufficient in most cases. If you are unsure of whether<br />

you should change it, please contact <strong>Omneon</strong> Technical Support for assistance.<br />

1. Type the following command:<br />

echo NNN > /proc/sys/omfs_cache_max_mem_MB<br />

The memory used, shown as “NNN” is specified in megabytes.<br />

2. Set the memory to the desired value.<br />

Memory Usage by the Linux FSD<br />

The Linux FSD allocates all the buffer memory it will use at module load time. The allocation is done<br />

over a short period of time following startup. This eliminates sudden demands for memory, which<br />

occasionally cause the Linux kernel to panic. The gradual increase in memory usage at startup is<br />

expected and normal.<br />

<strong>Omneon</strong>, Now Part of <strong>Harmonic</strong> 133

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!