• DocumentCode
    1236783
  • Title

    Estimating the Speedup in Parallel Parsing

  • Author

    Cohen, Jacques ; Kolodner, Stuart

  • Author_Institution
    Department of Computer Science, Brandeis University
  • Issue
    1
  • fYear
    1985
  • Firstpage
    114
  • Lastpage
    124
  • Abstract
    A model for the operation of bottom-up parallel parsing using asynchronous processors is proposed. The model is based on an extension of shift-reduce parsers which are able to merge the information they keep on their stacks. The main objective of the paper is to provide estimates of the speedup attainable when using the proposed model. Three programs were written to measure the speedup. The first is a classical simulator which keeps track of the times spent performing the shift, reduce, and merge operations for each processor. The second is a program which generates "typical" strings in a language and simultaneously keeps track of the number of operations needed to parse the generated strings. The third is a program capable of deducing the num-ber of parsing operations by counting the number of selected terminals appearing in an input string. The results, applicable to the paralel parsing of programs written in a Pascal-like language, show how the speedup varies with the number of processors for different ratios of the times to shift, reduce, and merge. Although the speedup falls considerably below that predicted by theory, substantial gains are still attainable by using a fairly large number of parallel processors. With the decreasing costs of processors, parallel parsing and parallel compilation will become increasingly important and should allow considerable gains in speedup.
  • Keywords
    Compilers; parallelism; parsing; Computational modeling; Computer science; Computer simulation; Concurrent computing; Costs; Parallel processing; Production; Velocity measurement; Writing; Compilers; parallelism; parsing;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.1985.231848
  • Filename
    1701903