Changeset 2506 for docs/Working


Ignore:
Timestamp:
Oct 19, 2012, 7:09:46 PM (7 years ago)
Author:
lindanl
Message:

minor changes for multithread section

Location:
docs/Working/icXML
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • docs/Working/icXML/icxml-main.tex

    r2499 r2506  
    2828% 11pt          To set in 11-point type instead of 9-point.
    2929% authoryear    To obtain author/year citation style instead of numeric.
    30 
     30\usepackage{subfigure}
    3131\usepackage{amsmath}
    3232\usepackage{graphicx}
  • docs/Working/icXML/multithread.tex

    r2505 r2506  
    4848first suppose we have an application that spends 66\% of time on parsing when it applies Xerces XML parser
    4949and icXML can reduce the parsing time by half.
    50 According to Amdahl's law, the performance improvement by using icXML is 33\%.
     50According to Amdahl's law, the speedup by using icXML is 1.5x.
    5151When pipeline model is applied to icXML and a separate core is used for parsing,
    5252the entire parsing time can be hidden, thus the application is 3x faster.
    5353However, when parsing time does not dominate the performance,
    5454e.g. 40\% of the total time is used for parsing,
    55 we can only improve the performance by 40\%.
    56 
    57 
     55we can only speedup the processing time by 1.67x.
    5856
    5957\begin{figure}
    60 \includegraphics[width=0.45\textwidth]{plots/threads_timeline1.pdf}
     58
     59\subfigure[]{
     60\includegraphics[width=0.48\textwidth]{plots/threads_timeline1.pdf}
     61\label{threads_timeline1}
     62}
     63\hfill
     64\subfigure[]{
     65\includegraphics[width=0.48\textwidth]{plots/threads_timeline2.pdf}
     66}
    6167\caption{}
    62 \label{threads_timeline1}
     68\label{threads_timeline2}
     69
    6370\end{figure}
    6471
    65 \begin{figure}
    66 \includegraphics[width=0.45\textwidth]{plots/threads_timeline2.pdf}
    67 \caption{}
    68 \label{threads_timeline2}
    69 \end{figure}
     72% \begin{figure}
     73% \includegraphics[width=0.45\textwidth]{plots/threads_timeline1.pdf}
     74% \caption{}
     75% \label{threads_timeline1}
     76% \end{figure}
     77%
     78% \begin{figure}
     79% \includegraphics[width=0.45\textwidth]{plots/threads_timeline2.pdf}
     80% \caption{}
     81% \label{threads_timeline2}
     82% \end{figure}
    7083
Note: See TracChangeset for help on using the changeset viewer.