Improved Parallel Scanner for the Concurrent Execution of Lexical Analysis Tasks on Multi-Core Systems
Journal Title: INTERNATIONAL JOURNAL OF APPLIED ENGINEERING AND MANAGEMENT LETTERS (IJAEML) - Year 2022, Vol 6, Issue 1
Abstract
Purpose:The processing power of machines will continue to accelerate massively. Modern eras of computing are driven by elevated parallel processing by the revolution of multi-core processors. This continuing trend toward parallel architectural paradigms facilitates parallel processing on a single machine and necessitates parallel programming in order to utilize the machine's enormous processing power. As a consequence, scanner generator applications will eventually need to be parallelized in order to fully leverage the throughput benefits of multi-core processors. This article discusses the way of processing the tasks in parallel during the scanning stage of lexical analysis. This is done by recognizing tokens in different lines of the source program in parallel along with auto detection of keyword in a character stream. Tasks are allocated line-by-line to the multiple instancesof the lexical analyzer program. Then, each of the instances isrun in parallel to detect tokens on different cores that are not yet engaged. Design/Methodology/Approach:Developing a theoretical and experimental approach for parallelizing the lexical scanning process on a multi-core system.Findings/Result:Based onthe developed model, the theoretical and practical results indicate that the suggested methodology outperforms the sequential strategy in terms of tokenization consistently. It significantly decreases the amount of time spent on lexical analysis during the compilation process. It is clearly observed that the speedup should increase at or close to the same rate as the number of cores and keywords in the source program increases. This enhancement would improve the overall compilation time even more.Originality/Value:A hybrid model is developed for the concurrent execution of a lexical analyzer on multi-core systems using a dynamic task allocation algorithm and an auto-keyword detection method.Paper Type:Experimental Research.
Authors and Affiliations
Vaikunta Pai T. , Nethravathi P. S. , P. S. Aithal
A Framework of Web Mining Algorithm-Based Hidden Pattern in India E-Government Application Using Blockchain Technology
Purpose: The Indian Government should be analyzing these problems and organized a special team who has responsibility for all inquiry and reduced these types of problem and India’s Government should be informed about n...
Job Safety Analysis during Tunnel Construction
Purpose: There are many tunnels under construction in Nepal as its mountainous country. Road, water supply, hydropower, and irrigation projects are under construction in Nepal through the tunnel. “Safety First” should...
Causes and Effects of Design Change of Construction Projects
Purpose:Design is the mother of all construction as it is not only technical but also strategic processfor competitiveness. In last decade, enormous bridge projects have been designed in Nepal but not all of them have be...
Literature Review on Benefits, Opportunities, Challenges, Prospects of Online Teaching in Higher Education
Purpose: An analysis of literature review on benefits, opportunities, challenges, prospects of online teaching in higher education gives an insight into various factors leading to the effective implementation...
An Analysis into the Contribution of Google Applications in the Successful Implementation of Online Education During the COVID-19 Pandemic
Purpose: The emergence of COVID-19 led the world to an unprecedented public health crisis. The outbreak and cause of COVID-19 have placed a wide range of social, political, and economic impacts. The negat...