Changeset f621e43f
- Timestamp:
- Mar 30, 2021, 2:44:56 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 22b7579
- Parents:
- 976bc68 (diff), a41e87b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mubeen_zulfiqar_MMath/Makefile
r976bc68 rf621e43f 1 ### Makefile from Andrew Beach's Masters Thesis 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 2 10 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=%} 11 MAKEFLAGS = --no-print-directory # --silent 12 VPATH = ${BUILD} 14 13 15 14 ### Special Rules: 16 15 17 .PHONY: all clean deepclean16 .PHONY: all clean 18 17 19 18 ### Commands: 20 LATEX =TEXINPUTS=${TEXLIB} pdflatex -halt-on-error -output-directory=${BUILD}21 BIBTEX =BIBINPUTS=${BIBLIB} bibtex19 LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${BUILD} 20 BIBTEX = BIBINPUTS=${BIBLIB} bibtex 22 21 #GLOSSARY=INDEXSTYLE=${BUILD} makeglossaries-lite 23 22 24 ### Rules and Recip ies:23 ### Rules and Recipes: 25 24 26 25 all: ${DOC} 27 26 28 ${BUILD}/ ${DOC}: ${TEXSRC} ${BIBSRC} ${STYSRC} ${CLSSRC} Makefile | ${BUILD}27 ${BUILD}/%.dvi: ${TEXSRC} ${FIGSRC:.fig=.tex} ${BIBSRC} Makefile | ${BUILD} 29 28 ${LATEX} ${BASE} 30 29 ${BIBTEX} ${BUILD}/${BASE} … … 33 32 # ${LATEX} ${BASE} 34 33 35 ${DOC}: ${BUILD}/${DOC}36 cp $< $@37 38 34 ${BUILD}: 39 35 mkdir $@ 40 36 37 %.pdf : ${BUILD}/%.ps | ${BUILD} 38 ps2pdf $< 39 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 41 53 clean: 42 -@rm -rv ${BUILD} 43 44 deepclean: clean 45 -@rm -v ${DOC} 54 @rm -frv ${DOC} ${BUILD} *.fig.bak -
doc/theses/mubeen_zulfiqar_MMath/allocator.tex
r976bc68 rf621e43f 1 1 2 \chapter{Allocator} 3 4 \newpage 5 \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 \centering 14 \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 \centering 28 \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
r976bc68 rf621e43f 81 81 \usepackage{amsmath,amssymb,amstext} % Lots of math symbols and environments 82 82 \usepackage{xcolor} 83 \usepackage[pdftex]{graphicx} 83 \usepackage{epic,eepic} 84 \usepackage{graphicx} 84 85 \usepackage{comment} % Removes large sections of the document. 85 86 \usepackage{todonotes} % Adds todos (Must be included after comment.) … … 89 90 % Use the "hyperref" package 90 91 % N.B. HYPERREF MUST BE THE LAST PACKAGE LOADED; ADD ADDITIONAL PKGS ABOVE 91 \usepackage[p dftex,pagebackref=true]{hyperref} % with basic options92 \usepackage[pagebackref=true]{hyperref} % with basic options 92 93 %\usepackage[pdftex,pagebackref=true]{hyperref} 93 94 % N.B. pagebackref=true provides links back from the References to the body text. This can cause trouble for printing. -
tests/include/includes.cfa
r976bc68 rf621e43f 40 40 #include <errno.h> 41 41 #include <error.h> 42 //#include <eti.h> // may not be installed42 //#include <eti.h> // may not be installed, comes with ncurses 43 43 #include <execinfo.h> 44 44 #include <expat.h> … … 49 49 #include <fmtmsg.h> 50 50 #include <fnmatch.h> 51 #include <form.h> 51 //#include <form.h> // may not be installed, comes with ncurses 52 52 #include <fstab.h> 53 53 #include <fts.h> … … 77 77 #include <mcheck.h> 78 78 #include <memory.h> 79 #include <menu.h> 79 //#include <menu.h> // may not be installed, comes with ncurses 80 80 #include <mntent.h> 81 81 #include <monetary.h> 82 82 #include <mqueue.h> 83 #include <ncurses_dll.h> 83 //#include <ncurses_dll.h> // may not be installed, comes with ncurses 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> 88 //#include <panel.h> // may not be installed, comes with ncurses 89 89 #include <paths.h> 90 90 #include <poll.h> … … 117 117 #include <syslog.h> 118 118 #include <tar.h> 119 #include <term.h> 120 #include <termcap.h> 119 //#include <term.h> // may not be installed, comes with ncurses 120 //#include <termcap.h> // may not be installed, comes with ncurses 121 121 #include <termio.h> 122 122 #include <termios.h> … … 130 130 #include <ucontext.h> 131 131 #include <ulimit.h> 132 #include <unctrl.h> 132 //#include <unctrl.h> // may not be installed, comes with ncurses 133 133 #include <unistd.h> 134 134 #include <utime.h>
Note: See TracChangeset
for help on using the changeset viewer.