Browse Prior Art Database

Mechanism for efficient file system scanning with memory consumption limits

IP.com Disclosure Number: IPCOM000248660D
Publication Date: 2016-Dec-22
Document File: 2 page(s) / 21K

Publishing Venue

The IP.com Prior Art Database

Abstract

Mechanism for efficient file system scanning with memory consumption limits

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 52% of the total text.

1

Mechanism for efficient file system scanning with memory consumption limits

File system scanners used in Software Asset Management solutions tend to create huge cache files in order to list all file system(s) files, which need to be scanned using signatures. If machine has limited disk space this creates a big problem, which may cause machine to hang or reboot. Disclosed idea allows to control file scanner cache size, while maintaining full support for file signatures, including more complex multi file signatures.

Current approach is a singe big cache file that it grows proportionally to the size of file system and number of files. Which means it may reach few GBs and may fill up the entire free disk space. That huge file is than evaluated against signatures from software catalog. That disk space amount is consumed until entire (sometimes 8-12h) scan is completed, before its cleared. The core idea is to split cache into smaller chunks and scan those smaller chunks. If the whole signature is matched within single chunk - the hit will be included in scan results. If only part of a signature is matched within single chunk (for example signature checks existence of several files, but only one was found) - then the matched file(s) are added to the content of cache during scanning next chunk and all subsequent chunks until the signature is fully matched.

This allows to keep the memory threshold on desired level still being able to evaluate all the signatures even if they span entire file system. Our idea is to split that cache and scan smaller chunks and match them against soft...