# HG changeset patch # User Nozomi Teruya # Date 1430921026 -32400 # Node ID 7fdd8fe79a656c561110fb01288ce4b61f46a194 # Parent a5958e372cee428749b577a1e71fdcc098224793 add sourse diff -r a5958e372cee -r 7fdd8fe79a65 paper/sigos.dvi Binary file paper/sigos.dvi has changed diff -r a5958e372cee -r 7fdd8fe79a65 paper/sigos.log --- a/paper/sigos.log Wed May 06 22:35:51 2015 +0900 +++ b/paper/sigos.log Wed May 06 23:03:46 2015 +0900 @@ -1,4 +1,4 @@ -This is e-pTeX, Version 3.1415926-p3.4-110825-2.6 (utf8.euc) (TeX Live 2013) (format=platex 2014.4.14) 6 MAY 2015 22:26 +This is e-pTeX, Version 3.1415926-p3.4-110825-2.6 (utf8.euc) (TeX Live 2013) (format=platex 2014.4.14) 6 MAY 2015 22:56 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -240,8 +240,7 @@ File: images/treestructure.pdf Graphic file (type pdf) (./source/flip.java) (./source/Sort.java) [4] (./source/ReceiveData.java) -(./source/beforeCompress.java) (./source/afterCompress.java) [5] -(./source/asClass.java +(./source/beforeCompress.java) [5] (./source/asClass.java LaTeX Font Info: Try loading font information for OML+cmr on input line 1. (/usr/local/texlive/2013/texmf-dist/tex/latex/base/omlcmr.fd @@ -251,18 +250,18 @@ (Font) Font shape `OML/cmm/m/it' tried instead on input line 1. ) (./source/CommandMessage.java) -Overfull \hbox (17.32811pt too wide) in paragraph at lines 350--373 +Overfull \hbox (17.32811pt too wide) in paragraph at lines 368--391 [] [] (./sigos.bbl) [6] (./sigos.aux) ) Here is how much of TeX's memory you used: - 3054 strings out of 494008 - 41554 string characters out of 6154472 - 268979 words of memory out of 5000000 - 6469 multiletter control sequences out of 15000+600000 + 3058 strings out of 494008 + 41563 string characters out of 6154472 + 269979 words of memory out of 5000000 + 6476 multiletter control sequences out of 15000+600000 17796 words of font info for 69 fonts, out of 8000000 for 9000 745 hyphenation exceptions out of 8191 33i,12n,58p,606b,1467s stack positions out of 5000i,500n,10000p,200000b,80000s -Output written on sigos.dvi (6 pages, 57268 bytes). +Output written on sigos.dvi (6 pages, 56992 bytes). diff -r a5958e372cee -r 7fdd8fe79a65 paper/sigos.pdf Binary file paper/sigos.pdf has changed diff -r a5958e372cee -r 7fdd8fe79a65 paper/sigos.tex --- a/paper/sigos.tex Wed May 06 22:35:51 2015 +0900 +++ b/paper/sigos.tex Wed May 06 23:03:46 2015 +0900 @@ -71,10 +71,9 @@ % 英文概要 仮 \begin{eabstract} - Alice is a framework for distributed programming, which uses Data Segment and Code Segment as programming units.We checked Alice has an ability to write distributed program using aquarium example, distributed database Jungle and share screen system AliceVNC by previous research. -But if programmer want to build Application by Alice, Alice need function of choice the Data Segment representation. + Alice is a framework for distributed programming, which uses Data Segment and Code Segment as programming units. We checked Alice has an ability to write distributed program using aquarium example, distributed database Jungle and screen sharing system AliceVNC. -In this paper, we add Alice computation of compress for achieving Data Segment polymerism. Data Segment has 3 type representation(Object type, ByteArray type using MessagePack, and compressed ByteArray type). +In this paper, we add Data Segment computation of compress for achieving Data Segment polymerism. Data Segment has 3 type representation(Object type, ByteArray type using MessagePack, and compressed ByteArray type). \end{eabstract} % 表題などの出力 @@ -106,11 +105,10 @@ CSを実行するために必要な入力DSはInputDS、CSが計算を行った後に出力されるDSはOutput DSと呼ばれる。データの依存関係にないCSは並列実行が可能であるため、並列度を上げるためにはCSの処理内容を細かく分割して依存するデータを少なくするのが望ましい。 \subsection*{[Data Segment]} - -複数のスレッドから1つのデータに変更を行うためには、データの不整合を防ぐためのlockが必要になる。複数の関係のない要素を1つのデータオブジェクトで表現した場合、全ての操作でlockが必要になる。このlockがスケラビリティーを低下させる。つまりデータのサイズも並列計算には重要である。 +Aliceはデータを分割して記述する。その分割されたデータをDSと呼ぶ。 +Javaの実装ではMessagePackで特定のオブジェクトにマッピングされ、マッピングされたクラスを通してアクセスされる。 -Aliceはデータを分割して記述する。その分割されたデータをDSと呼ぶ。 -Javaの実装ではMPでは特定のオブジェクトにマッピングされ、マッピングされたクラスを通してアクセスされる。 +CSの実行においてDSは占有されるため、Aliceではデータが他から変更され整合性がとれなくなることはない。 \subsection*{[Data Segment Manager]} diff -r a5958e372cee -r 7fdd8fe79a65 paper/source/afterCompress.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/paper/source/afterCompress.java Wed May 06 23:03:46 2015 +0900 @@ -0,0 +1,17 @@ +public class RemoteIncrement extends CodeSegment { + + public Receiver num = ids.create(CommandType.TAKE); + + @Override + public void run() { + int num = this.num.asInteger(); + System.out.println("[CodeSegment] " + num++); + if (num == 10) System.exit(0); + + RemoteIncrement cs = new RemoteIncrement(); + cs.num.setKey("compressedremote", "num"); + + ods.put("compressedlocal", "num", num); + } + +} diff -r a5958e372cee -r 7fdd8fe79a65 paper/source/beforeCompress.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/paper/source/beforeCompress.java Wed May 06 23:03:46 2015 +0900 @@ -0,0 +1,17 @@ +public class RemoteIncrement extends CodeSegment { + + public Receiver num = ids.create(CommandType.TAKE); + + @Override + public void run() { + int num = this.num.asInteger(); + System.out.println("[CodeSegment] " + num++); + if (num == 10) System.exit(0); + + RemoteIncrement cs = new RemoteIncrement(); + cs.num.setKey("remote", "num"); + + ods.put("local", "num", num); + } + +}