Changes in / [f621e43f:976bc68]
- Files:
-
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mubeen_zulfiqar_MMath/Makefile
rf621e43f r976bc68 1 DOC = uw-ethesis.pdf 2 BASE = ${DOC:%.pdf=%} # remove suffix 3 # directory for latex clutter files 4 BUILD = build 5 TEXSRC = $(wildcard *.tex) 6 FIGSRC = $(wildcard *.fig) 7 BIBSRC = $(wildcard *.bib) 8 TEXLIB = .:../../LaTeXmacros:${BUILD}: # common latex macros 9 BIBLIB = .:../../bibliography # common citation repository 1 ### Makefile from Andrew Beach's Masters Thesis 10 2 11 MAKEFLAGS = --no-print-directory # --silent 12 VPATH = ${BUILD} 3 DOC=uw-ethesis.pdf 4 BUILD=out 5 TEXSRC=$(wildcard *.tex) 6 BIBSRC=$(wildcard *.bib) 7 STYSRC=$(wildcard *.sty) 8 CLSSRC=$(wildcard *.cls) 9 TEXLIB= .:../../LaTeXmacros:${BUILD}: 10 BIBLIB= .:../../bibliography 11 12 # Since tex programs like to add their own file extensions: 13 BASE= ${DOC:%.pdf=%} 13 14 14 15 ### Special Rules: 15 16 16 .PHONY: all clean 17 .PHONY: all clean deepclean 17 18 18 19 ### Commands: 19 LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS &&latex -halt-on-error -output-directory=${BUILD}20 BIBTEX =BIBINPUTS=${BIBLIB} bibtex20 LATEX=TEXINPUTS=${TEXLIB} pdflatex -halt-on-error -output-directory=${BUILD} 21 BIBTEX=BIBINPUTS=${BIBLIB} bibtex 21 22 #GLOSSARY=INDEXSTYLE=${BUILD} makeglossaries-lite 22 23 23 ### Rules and Recip es:24 ### Rules and Recipies: 24 25 25 26 all: ${DOC} 26 27 27 ${BUILD}/ %.dvi: ${TEXSRC} ${FIGSRC:.fig=.tex} ${BIBSRC} Makefile | ${BUILD}28 ${BUILD}/${DOC}: ${TEXSRC} ${BIBSRC} ${STYSRC} ${CLSSRC} Makefile | ${BUILD} 28 29 ${LATEX} ${BASE} 29 30 ${BIBTEX} ${BUILD}/${BASE} … … 32 33 # ${LATEX} ${BASE} 33 34 35 ${DOC}: ${BUILD}/${DOC} 36 cp $< $@ 37 34 38 ${BUILD}: 35 39 mkdir $@ 36 40 37 %.pdf : ${BUILD}/%.ps | ${BUILD} 38 ps2pdf $<41 clean: 42 -@rm -rv ${BUILD} 39 43 40 %.ps : %.dvi | ${BUILD} 41 dvips $< -o $@ 42 43 %.tex : %.fig | ${BUILD} 44 fig2dev -L eepic $< > ${BUILD}/$@ 45 46 %.ps : %.fig | ${BUILD} 47 fig2dev -L ps $< > ${BUILD}/$@ 48 49 %.pstex : %.fig | ${BUILD} 50 fig2dev -L pstex $< > ${BUILD}/$@ 51 fig2dev -L pstex_t -p ${BUILD}/$@ $< > ${BUILD}/$@_t 52 53 clean: 54 @rm -frv ${DOC} ${BUILD} *.fig.bak 44 deepclean: clean 45 -@rm -v ${DOC} -
doc/theses/mubeen_zulfiqar_MMath/allocator.tex
rf621e43f r976bc68 1 2 1 \chapter{Allocator} 3 4 \newpage5 \paragraph{Design 1: Decentralized}6 Fixed number of heaps: shard the heap into N heaps each with a bump-area allocated from the sbrk area.7 Kernel threads (KT) are assigned to the N heaps.8 When KTs $\le$ N, the heaps are uncontented.9 When KTs $>$ N, the heaps are contented.10 By adjusting N, this approach reduces storage at the cost of speed due to contention.11 In all cases, a thread acquires/releases a lock, contented or uncontented.12 \begin{cquote}13 \centering14 \input{AllocDS1}15 \end{cquote}16 Problems: need to know when a KT is created and destroyed to know when to create/delete the KT's heap.17 On KT deletion, its heap freed-storage needs to be distributed somewhere.18 19 \paragraph{Design 2: Centralized}20 21 One heap, but lower bucket sizes are N-shared across KTs.22 This design leverages the fact that 95\% of allocation requests are less than 512 bytes and there are only 3--5 different request sizes.23 When KTs $\le$ N, the important bucket sizes are uncontented.24 When KTs $>$ N, the free buckets are contented.25 Therefore, threads are only contending for a small number of buckets, which are distributed among them to reduce contention.26 \begin{cquote}27 \centering28 \input{AllocDS2}29 \end{cquote}30 Problems: need to know when a kernel thread (KT) is created and destroyed to know when to assign a shared bucket-number.31 When no thread is assigned a bucket number, its free storage is unavailable.32 It is possible to use sharing and stealing techniques to share/find unused storage, when a free list is unused or empty. -
doc/theses/mubeen_zulfiqar_MMath/uw-ethesis.tex
rf621e43f r976bc68 81 81 \usepackage{amsmath,amssymb,amstext} % Lots of math symbols and environments 82 82 \usepackage{xcolor} 83 \usepackage{epic,eepic} 84 \usepackage{graphicx} 83 \usepackage[pdftex]{graphicx} 85 84 \usepackage{comment} % Removes large sections of the document. 86 85 \usepackage{todonotes} % Adds todos (Must be included after comment.) … … 90 89 % Use the "hyperref" package 91 90 % N.B. HYPERREF MUST BE THE LAST PACKAGE LOADED; ADD ADDITIONAL PKGS ABOVE 92 \usepackage[p agebackref=true]{hyperref} % with basic options91 \usepackage[pdftex,pagebackref=true]{hyperref} % with basic options 93 92 %\usepackage[pdftex,pagebackref=true]{hyperref} 94 93 % N.B. pagebackref=true provides links back from the References to the body text. This can cause trouble for printing. -
tests/include/includes.cfa
rf621e43f r976bc68 40 40 #include <errno.h> 41 41 #include <error.h> 42 //#include <eti.h> // may not be installed, comes with ncurses42 //#include <eti.h> // may not be installed 43 43 #include <execinfo.h> 44 44 #include <expat.h> … … 49 49 #include <fmtmsg.h> 50 50 #include <fnmatch.h> 51 //#include <form.h> // may not be installed, comes with ncurses 51 #include <form.h> 52 52 #include <fstab.h> 53 53 #include <fts.h> … … 77 77 #include <mcheck.h> 78 78 #include <memory.h> 79 //#include <menu.h> // may not be installed, comes with ncurses 79 #include <menu.h> 80 80 #include <mntent.h> 81 81 #include <monetary.h> 82 82 #include <mqueue.h> 83 //#include <ncurses_dll.h> // may not be installed, comes with ncurses 83 #include <ncurses_dll.h> 84 84 #include <netdb.h> 85 85 #include <nl_types.h> 86 86 #include <nss.h> 87 87 #include <obstack.h> 88 //#include <panel.h> // may not be installed, comes with ncurses 88 #include <panel.h> 89 89 #include <paths.h> 90 90 #include <poll.h> … … 117 117 #include <syslog.h> 118 118 #include <tar.h> 119 //#include <term.h> // may not be installed, comes with ncurses 120 //#include <termcap.h> // may not be installed, comes with ncurses 119 #include <term.h> 120 #include <termcap.h> 121 121 #include <termio.h> 122 122 #include <termios.h> … … 130 130 #include <ucontext.h> 131 131 #include <ulimit.h> 132 //#include <unctrl.h> // may not be installed, comes with ncurses 132 #include <unctrl.h> 133 133 #include <unistd.h> 134 134 #include <utime.h>
Note: See TracChangeset
for help on using the changeset viewer.