{"id":64,"date":"2018-03-16T19:56:32","date_gmt":"2018-03-16T19:56:32","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/?p=64"},"modified":"2018-04-20T18:32:57","modified_gmt":"2018-04-20T18:32:57","slug":"furball-files-handling","status":"publish","type":"post","link":"https:\/\/cyflex.com\/index.php\/furball-files-handling\/","title":{"rendered":"Test table"},"content":{"rendered":"<p>The \u201cvrbl_to_file\u201d application is a frequently used support application that is invoked from \u201cgp_test\u201d procedures to set a sequence of operating conditions for the engine or test object.<\/p>\n<p>The data files which are read by \u201cvrbl_to_file\u201d have been referred to as \u201cfurball\u201d files (a corrupt pronunciation of \u201cvrbl_to_file\u201d). We prefer the name \u201ctest_table\u201d files, and you may see that term used in documentation. In addition, \u201cgp_test\u201d is referred to as the \u201cTest Manager\u201d in user manuals.<\/p>\n<p>When launching \u201cvrbl_to_file\u201d you supply an argument that is either \u201cREAD\u201d or \u201cREAD_ONCE\u201d. This argument controls when and how often the file is read from disk.<\/p>\n<p>READ &#8211; The file is read each time \u201cvrbl_to_file\u201d is invoked from a gp_test procedure. The \u201cvrbl_to_file\u201d application reads the file and then searches the file for the specified line index. Since the file is re-read each time \u201cvrbl_to_file\u201d is invoked, it is possible to modify the file \u201con-the-fly\u201d and have the changes be picked up on the next execution of the test mode.<\/p>\n<p>READ_ONCE \u2013 The file is read into the memory area of the \u201cvrbl_to_file\u201d application as soon as the app is launched. Each time it is invoked from the gp_test procedure, the app looks up the line index in the memory buffer and sets the specified variables. Using the READ_ONCE option is required for procedures which run very fast and where a new index is requested at rates of 1hz or faster, such as running an FTP cycle. A re-read of the file is performed only when a new \u201cnt\u201d command is issued for that \u201cgp_test\u201d instance.<\/p>\n<p><strong>THE ISSUE:<\/strong> We have noticed an excessive number of disk accesses to \u201cfurball\u201d files in many cells and test rigs which seem to be caused by the use of the \u201cREAD\u201d option and executing those test modes frequently. The only reason for using the \u201cREAD\u201d option is for the case where you expect to modify the \u201cfurball\u201d file during the test. By switching to \u201cREAD_ONCE\u201d, you will reduce the number of disk reads. We recommend that you make this modification wherever possible. In the LINUX operating system, the real-time performance of some applications can be adversely affected by a lot of disk I\/O.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The \u201cvrbl_to_file\u201d application is a frequently used support application that is invoked from \u201cgp_test\u201d procedures to set a sequence of operating conditions for the engine or test object. The data files which are read by \u201cvrbl_to_file\u201d have been referred to as \u201cfurball\u201d files (a corrupt pronunciation of \u201cvrbl_to_file\u201d). We prefer the name \u201ctest_table\u201d files, and [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-64","post","type-post","status-publish","format-standard","hentry","category-did-you-know"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=64"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/posts\/64\/revisions"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/categories?post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/tags?post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}