From cb9f5f50c5c3ecd09a4a785d43c874a28d3d4ffa Mon Sep 17 00:00:00 2001 From: mmazab Date: Sat, 6 Dec 2014 21:41:49 -0500 Subject: [PATCH 1/5] Staging class --- DBProject/bin/.gitignore | 1 - .../edu/umich/td/fextractors/Feature.class | Bin 912 -> 1214 bytes .../edu/umich/td/controller/StagingPhase.java | 73 ++++++++++++++++++ 3 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 DBProject/src/edu/umich/td/controller/StagingPhase.java diff --git a/DBProject/bin/.gitignore b/DBProject/bin/.gitignore index 53457c1..b80d21c 100644 --- a/DBProject/bin/.gitignore +++ b/DBProject/bin/.gitignore @@ -1,2 +1 @@ /edu/ -/ExtractFeatures.class diff --git a/DBProject/bin/edu/umich/td/fextractors/Feature.class b/DBProject/bin/edu/umich/td/fextractors/Feature.class index 92a4acb02480eccb22f71ed2c4246c5ed4cf8e10..8ff676fd7a8c97ed0a7dbf113a3fb27c21c159ab 100644 GIT binary patch delta 476 zcmZ8cO-lk%6g_X!v~j>1L@Tni#+p%UD*Lt;5w#LsxN>RJ6pA=vW3+SGwwRyLvPA_k zLV`b_Rez!15k&WmkkH~??s@mzbMCnh3?{^npZ5WP9FAVaM;7uM4XbG~D601Gl?>-a zFeD_12r;lr=ZPsS<$SWa@Csp7gaVCE)6O@W4Jyb=SjCzX7xLY81|gdWVv~p(CvHht z#1cb9)e80MO;vAHn^$`2ylxtHovzpfd?9l}y&I!M%XxZgXt7Wxq^Wu-n z&pVJ1$2hERl1k~)gRb5ND&w}dh3fK(q!MPBYf2Nm0jr{Am~a|7Dmb!y_`}sR}s!1u#ZU*#H0l delta 203 zcmdnTIf0$))W2Q(7#J9g8H_e^EoPkjicyJCVKOh1jG+=E1EU5PgFJ%@4+9s2DkFoa zhEG;vS)zVUVqUs_a7j^SUb?kr7)XUW4}%7S=Hw_QYawk$1|}T^4hCJIZcUJ!{^b8m zE{sf*U6|XW{27=T7=f0l?q-mW6jI#IpsclpL0}t$nvfQd0J4QZY#ku6jX`e%P$3h8 d7?5NGYZ77*2eNq}1~5o4NCJ6`3 queries = qpool.ReadQueriesFromDirectory("/home/mahmoud/Documents/DB/Experiments_Data"); + + + + ArrayList failedQueries = new ArrayList(); + ArrayList qtimeStamps = new ArrayList(); + Connection con = TdDatabase.OpenConnection(); + + for (int i = 0; i < queries.size(); i++) { + System.out.println("=========\tStaging Query #" + i + "\t========="); + String query = queries.get(i).qText; + long timeStamp = System.currentTimeMillis(); + query = query.replaceFirst("\n", "/*Q" + System.currentTimeMillis() + "*/\n"); + boolean status = TdDatabase.ExecuteQuery(con, query); + + // Query failed to execute properly + if (!status) { + failedQueries.add(i); + } // Query is executed successfully + else { + // Add time stamp to the query so that we can retrieve it later + qtimeStamps.add(timeStamp); + } + System.out.println("\n"); + } + for (int i = 0; i < failedQueries.size(); i++) { + queries.remove(failedQueries.get(i)); + } + + try { + Thread.sleep(15000); + } catch (InterruptedException e) { + e.printStackTrace(); + } + + Connection statsCon = StatsCollector.OpenConnection(); + + for (int i = 0; i < qtimeStamps.size(); i++) { + int[] CpuIo = { 0, 0 }; + System.out.println("Collecting CPU and I/O usage ..."); + CpuIo = StatsCollector.CollectCpuIO(statsCon, "Q" + qtimeStamps.get(i)); + queries.get(i).cpuCnt = CpuIo[0]; + queries.get(i).ioCnt = CpuIo[1]; + System.err.println("===>\t" + CpuIo[0] + "\t" + CpuIo[1] + "\t"); + } + + StatsCollector.CloseConnection(statsCon); + TdDatabase.CloseConnection(con); + + + qpool.WriteFilesToDirectory(); + } + +} From 05faf6b135ae189017fec3cbb64e49fed140e3da Mon Sep 17 00:00:00 2001 From: mmazab Date: Sun, 7 Dec 2014 14:51:44 -0500 Subject: [PATCH 2/5] Writeback every N queries --- .../umich/td/database/StatsCollector.class | Bin 5232 -> 5229 bytes .../edu/umich/td/database/TdDatabase.class | Bin 2972 -> 2786 bytes .../edu/umich/td/controller/StagingPhase.java | 29 +++++- .../edu/umich/td/database/StatsCollector.java | 2 +- .../src/edu/umich/td/database/TdDatabase.java | 11 +- .../td/fextractors/QPlanFeatureExtractor.java | 70 ++++++++++++- .../edu/umich/td/workload/QueriesPool.java | 97 +++++++++++------- 7 files changed, 155 insertions(+), 54 deletions(-) diff --git a/DBProject/bin/edu/umich/td/database/StatsCollector.class b/DBProject/bin/edu/umich/td/database/StatsCollector.class index e270351d435ed0befc2d632fd68eb0f189bc2ca9..9bd6bc36dcdfd43d83e2241a1e6c7e3a289f9b03 100644 GIT binary patch delta 45 zcmeyM@m6Dl5~G57R!UN`RY_`5VoG93qLsdWYO;~8sfn(IiLQyRp@sQoS4M4N0A;cb AkpKVy delta 48 zcmaE>@j+vQ5~H$JR!UN`RY_`5VoG93qLsdWYO;~8sfn(U5fB?118L*UPK?^Z0FL?& A82|tP diff --git a/DBProject/bin/edu/umich/td/database/TdDatabase.class b/DBProject/bin/edu/umich/td/database/TdDatabase.class index 84cfb7608e7298250739fc7fad3e8373c657e111..35a504edcde189febccec804d5da378e4548dd77 100644 GIT binary patch delta 622 zcmY+C-)~D{7{@=St)A1fGpq?k#+r$s+BBVRYkFaZ8dj63S=NXstA@~W9NQS`_wOI; z&iuG=<7zj%!EywNaV7CTxZu{GK-AMUByy7Hect!;Jm2^GZolvbG?R-4mnhpGy`dhHD+X8TQqZhY#xjo;3mVrIj9{ie z9n4rcYhEhLO@mvtvW7z55;RY0SKO&--L+$Cn{wYCR+G)H{FsWZu=sdxBo{rAD;A=4 zU6seLzpA}T<62g-j#aFe7_!@a<4tX7#92r?emYo6!v5sz@D=dL2TvyTmhv=4U-&I2 z6(V!>)ibmE6?+_t68)zfHc!(h>3hr}zx9TZu)~2TH0Y6sb0G)ep^eihL~nxFmwy`G7s delta 811 zcmaKq+fP$L5Qo2omQxNzg@6bm^aX{6iWFi@y#Q*1Am9Z7MP8~L5u+6A0YSuizoVAp z74dE)F~meA^_Iw^iGPF-zL@BLphTR~5aWyIB)hZw&HQF(XTN5SX6c`QzyAo7@id}O zC|_hUE5++A_jpUoJYH|v%P&7{VY~3yr|WbR(m1G?w=d8eDA^zA>L}T^H)I6bogBhc z*bnVDjBbUku(qgKr6-S(`M|W^k zvC!>yyBfFD`TMMI_6&8*nzH8>99N{e{Gm`V5ZYdpxDQJeo zQe2N|-B5U}h&{*po|LI>4Qsw4SKa^XTB%4d`ZOL`m0G5H^txHws8S19#A5PTLLr6L z3&%j(QXDK}4yB~yWj^JWFL`VB4 zN%5!YiNtXd(I}7tdS&*oeCBynQzJb{WPz+&r3_dlw1T-*k|oW}XRXAnqeyz}p<1H+ ztdMyP8-!NNUndIn)UuV$G_sv0cG8SV3*jMIK9h~-BAqSLJk)<;uhM9pB2C6$5~p}9 I5eYo`1LDiP*8l(j diff --git a/DBProject/src/edu/umich/td/controller/StagingPhase.java b/DBProject/src/edu/umich/td/controller/StagingPhase.java index ca3618b..02d023e 100644 --- a/DBProject/src/edu/umich/td/controller/StagingPhase.java +++ b/DBProject/src/edu/umich/td/controller/StagingPhase.java @@ -17,16 +17,34 @@ public static void main(String[] args) { // 2- Run all the queries sequentially to detect each queries behavior QueriesPool qpool = new QueriesPool(); - ArrayList queries = qpool.ReadQueriesFromDirectory("/home/mahmoud/Documents/DB/Experiments_Data"); - - + ArrayList queries = qpool.ReadQueriesFromDirectory("/home/mahmoud/Documents/DB/Data/TrainingData"); ArrayList failedQueries = new ArrayList(); ArrayList qtimeStamps = new ArrayList(); Connection con = TdDatabase.OpenConnection(); + TdDatabase.ExecuteQuery(con, "database TPCH;"); + + for (int i = 0; i < queries.size(); i++) { - System.out.println("=========\tStaging Query #" + i + "\t========="); + //Write queries to file after processing 100 queries + if(i % 100 == 0){ + Connection statsCon = StatsCollector.OpenConnection(); + for (int j = 0; j < qtimeStamps.size(); j++) { + int[] CpuIo = { 0, 0 }; + System.out.println("Collecting CPU and I/O usage ..."); + CpuIo = StatsCollector.CollectCpuIO(statsCon, "Q" + qtimeStamps.get(j)); + queries.get(j).cpuCnt = CpuIo[0]; + queries.get(j).ioCnt = CpuIo[1]; + System.err.println("===>\t" + CpuIo[0] + "\t" + CpuIo[1] + "\t"); + } + StatsCollector.CloseConnection(statsCon); + qpool.WriteFilesToDirectory("/home/mahmoud/Documents/DB/Data/labeledQueries"); + } + + + System.out.println("========= Query #" + i + " on the stage\t========="); + System.out.println(queries.get(i).parentFolder+ "/" +queries.get(i).fileName); String query = queries.get(i).qText; long timeStamp = System.currentTimeMillis(); query = query.replaceFirst("\n", "/*Q" + System.currentTimeMillis() + "*/\n"); @@ -63,11 +81,12 @@ public static void main(String[] args) { System.err.println("===>\t" + CpuIo[0] + "\t" + CpuIo[1] + "\t"); } + StatsCollector.CloseConnection(statsCon); TdDatabase.CloseConnection(con); - qpool.WriteFilesToDirectory(); + qpool.WriteFilesToDirectory("/home/mahmoud/Documents/DB/Data/labeledQueries"); } } diff --git a/DBProject/src/edu/umich/td/database/StatsCollector.java b/DBProject/src/edu/umich/td/database/StatsCollector.java index a4c6d4d..19b5c3a 100644 --- a/DBProject/src/edu/umich/td/database/StatsCollector.java +++ b/DBProject/src/edu/umich/td/database/StatsCollector.java @@ -14,7 +14,7 @@ public class StatsCollector { public static String sUser = "dbc"; public static String sPassword = "eecs58414"; - public static String url = "jdbc:teradata://ec2-54-224-213-223.compute-1.amazonaws.com"; + public static String url = "jdbc:teradata://ec2-54-84-4-187.compute-1.amazonaws.com"; public static Map tables; diff --git a/DBProject/src/edu/umich/td/database/TdDatabase.java b/DBProject/src/edu/umich/td/database/TdDatabase.java index 316d551..d152798 100644 --- a/DBProject/src/edu/umich/td/database/TdDatabase.java +++ b/DBProject/src/edu/umich/td/database/TdDatabase.java @@ -20,7 +20,7 @@ public class TdDatabase { public static String sUser = "mazab"; public static String sPassword = "eecs584"; - public static String url = "jdbc:teradata://ec2-54-224-213-223.compute-1.amazonaws.com"; + public static String url = "jdbc:teradata://ec2-54-84-4-187.compute-1.amazonaws.com"; @@ -34,12 +34,16 @@ public static Connection OpenConnection() { } // Attempting to connect to Teradata Connection con = DriverManager.getConnection(url, sUser, sPassword); + + return con; } catch (Exception e) { System.err.println(e.getMessage()); return null; } } + + public static void CloseConnection(Connection con) { // Close the connection @@ -53,8 +57,6 @@ public static void CloseConnection(Connection con) { public static boolean ExecuteQuery(Connection con, String query) { try { - // Loading the Teradata JDBC driver - try { // Creating a statement object from an active connection. Statement stmt = con.createStatement(); @@ -63,9 +65,6 @@ public static boolean ExecuteQuery(Connection con, String query) { System.out.println("Executing query..."); stmt.executeQuery(query); System.out.println("Waiting..."); - Thread.sleep(10); - } catch (InterruptedException e) { - e.printStackTrace(); } finally { // Close the statement stmt.close(); diff --git a/DBProject/src/edu/umich/td/fextractors/QPlanFeatureExtractor.java b/DBProject/src/edu/umich/td/fextractors/QPlanFeatureExtractor.java index 65a17cd..f36981b 100644 --- a/DBProject/src/edu/umich/td/fextractors/QPlanFeatureExtractor.java +++ b/DBProject/src/edu/umich/td/fextractors/QPlanFeatureExtractor.java @@ -6,30 +6,93 @@ */ import java.io.FileInputStream; +import java.io.PrintWriter; import java.util.ArrayList; + import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; +import java.sql.Connection; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Statement; + +import edu.umich.td.database.TdDatabase; + public class QPlanFeatureExtractor { // Function: takes a file name as a string and returns // an array list of features from the XML plan - public ArrayList getFeaturesFromPlan(String fileName) throws Exception{ + public ArrayList getFeaturesFromPlan(Connection con, String query) throws Exception{ + + String plan = getPlanFromQuery(con, query); + plan = plan.substring(plan.indexOf('\n')+1); + PrintWriter writer = new PrintWriter("plan.xml", "UTF-8"); + writer.println(plan); + writer.close(); SAXParserFactory parserFactor = SAXParserFactory.newInstance(); SAXParser parser = parserFactor.newSAXParser(); XMLHandler handler = new XMLHandler(); - FileInputStream fstream = new FileInputStream(fileName); + FileInputStream fstream = new FileInputStream("plan.xml"); parser.parse(fstream,handler); return handler.getFeatures(); } + public String getPlanFromQuery(Connection con, String query) { + + String plan = ""; + String explainline = "EXPLAIN IN XML "; + query = explainline + query; + + try { + // Loading the Teradata JDBC driver + + try { + // Creating a statement object from an active connection. + Statement stmt = con.createStatement(); + try { + ResultSet rs = stmt.executeQuery(query); + while (rs.next()) { + plan = rs.getString(1); + } + System.out.println("Waiting..."); + Thread.sleep(10); + } catch (InterruptedException e) { + e.printStackTrace(); + } finally { + // Close the statement + stmt.close(); + } + } finally { + + } + return plan; + } catch (SQLException ex) { + // A SQLException was generated. Catch it and display + // the error information. + // Note that there could be multiple error objects chained + // together. + System.out.println(); + System.out.println("*** SQLException caught ***"); + + while (ex != null) { + System.out.println(" Error code: " + ex.getErrorCode()); + System.out.println(" SQL State: " + ex.getSQLState()); + System.out.println(" Message: " + ex.getMessage()); + } + return plan; + } + } + // MAIN public static void main(String[] args) throws Exception { + Connection con = TdDatabase.OpenConnection(); + String query = "select * from nation;"; QPlanFeatureExtractor planex = new QPlanFeatureExtractor(); - ArrayList features = planex.getFeaturesFromPlan("files/plan.xml"); + ArrayList features = planex.getFeaturesFromPlan(con, query); for ( Feature fe : features){ System.out.println(fe); @@ -37,4 +100,3 @@ public static void main(String[] args) throws Exception { } } - diff --git a/DBProject/src/edu/umich/td/workload/QueriesPool.java b/DBProject/src/edu/umich/td/workload/QueriesPool.java index 068c28f..f5b2693 100644 --- a/DBProject/src/edu/umich/td/workload/QueriesPool.java +++ b/DBProject/src/edu/umich/td/workload/QueriesPool.java @@ -103,6 +103,36 @@ public ArrayList ReadQueriesFromDirectory(String directory) { } } } + return QueriesList; + } + + public ArrayList ReadLabeledQueriesFromDirectory(String directory) { + File queriesFolder = new File(directory); + File[] qDirectories = queriesFolder.listFiles(); + + for (int i = 0; i < qDirectories.length; i++) { + if (qDirectories[i].isDirectory()) { + File[] queries = qDirectories[i].listFiles(); + String dictName = qDirectories[i].getName(); + for (int j = 0; j < queries.length; j++) { + if (queries[j].getName().endsWith(".sql")) { + String query = ReadFileToString(queries[j].getAbsolutePath()); + String[] labels = query.split("\n"); + long cpu = Long.parseLong(labels[0]); + long io = Long.parseLong(labels[1]); + query = query.replaceFirst("[0-9]+\n", " "); + query = query.replaceFirst("[0-9]+\n", " "); + Query q = new Query(query); + q.fileName = queries[j].getName(); + q.parentFolder = dictName; + q.cpuCnt = cpu; + q.ioCnt = io; + + QueriesList.add(q); + } + } + } + } return QueriesList; } @@ -112,37 +142,31 @@ public ArrayList ReadQueriesFromDirectory(String directory) { * low I/O 3- low CPU, High I/O 4- low CPU, low I/O */ public void ClusterQueries() { - ArrayList cpuConsmp = ReadStatsFiles("files/cpu.txt"); - ArrayList ioConsmp = ReadStatsFiles("files/io.txt"); long cpuSum = 0, ioSum = 0; - - if (ioConsmp.size() == cpuConsmp.size()) { - for (int i = 0; i < ioConsmp.size(); i++) { - cpuSum += cpuConsmp.get(i); - ioSum += ioConsmp.get(i); - } + for (int i = 0; i < QueriesList.size(); i++) { + cpuSum += QueriesList.get(i).cpuCnt; + ioSum += QueriesList.get(i).ioCnt; } - IO_AVG = ioSum / (ioConsmp.size()); - CPU_AVG = cpuSum / (cpuConsmp.size()); - - if (ioConsmp.size() == cpuConsmp.size() && ioConsmp.size() <= QueriesList.size()) { - for (int i = 0; i < ioConsmp.size(); i++) { - QueriesList.get(i).cpuCnt = cpuConsmp.get(i); - QueriesList.get(i).ioCnt = ioConsmp.get(i); - // 1- High CPU, High I/O - if (cpuConsmp.get(i) > CPU_AVG && ioConsmp.get(i) > IO_AVG) { - hCPU_hIOList.add(QueriesList.get(i)); - }// 2- High CPU, low I/O - else if (cpuConsmp.get(i) > CPU_AVG && ioConsmp.get(i) <= IO_AVG) { - hCPU_lIOList.add(QueriesList.get(i)); - }// 3- low CPU, High I/O - else if (cpuConsmp.get(i) <= CPU_AVG && ioConsmp.get(i) > IO_AVG) { - lCPU_hIOList.add(QueriesList.get(i)); - }// 4- low CPU, low I/O - else if (cpuConsmp.get(i) <= CPU_AVG && ioConsmp.get(i) <= IO_AVG) { - lCPU_lIOList.add(QueriesList.get(i)); - } + IO_AVG = ioSum / QueriesList.size(); + CPU_AVG = cpuSum / QueriesList.size(); + + for (int i = 0; i < QueriesList.size(); i++) { + long cpu = QueriesList.get(i).cpuCnt; + long io = QueriesList.get(i).ioCnt; + // 1- High CPU, High I/O + if (cpu > CPU_AVG && io > IO_AVG) { + hCPU_hIOList.add(QueriesList.get(i)); + }// 2- High CPU, low I/O + else if (cpu > CPU_AVG && io <= IO_AVG) { + hCPU_lIOList.add(QueriesList.get(i)); + }// 3- low CPU, High I/O + else if (cpu <= CPU_AVG && io > IO_AVG) { + lCPU_hIOList.add(QueriesList.get(i)); + }// 4- low CPU, low I/O + else if (cpu <= CPU_AVG && io <= IO_AVG) { + lCPU_lIOList.add(QueriesList.get(i)); } + } } @@ -168,18 +192,15 @@ public ArrayList ReadStatsFiles(String fileName) { return null; } - - - public void WriteFilesToDirectory(){ - String targetDirectory = "/home/mahmoud/Documents/DB/labeledQueries"; - - for(Query q: QueriesList){ - new File(targetDirectory+"/"+q.parentFolder).mkdirs(); - String text = q.cpuCnt+"\n" + q.ioCnt +"\n" + q.qText ; - WriteQueryToFile(targetDirectory+"/"+q.parentFolder+"/"+q.fileName, text, false); + + public void WriteFilesToDirectory(String targetDirectory) { + for (Query q : QueriesList) { + new File(targetDirectory + "/" + q.parentFolder).mkdirs(); + String text = q.cpuCnt + "\n" + q.ioCnt + "\n" + q.qText; + WriteQueryToFile(targetDirectory + "/" + q.parentFolder + "/" + q.fileName, text, false); } } - + public void WriteQueryToFile(String fileName, String text, boolean append) { try { BufferedWriter bw = new BufferedWriter(new FileWriter(new File(fileName), append)); From 74d1c4d47cd9975b46ef8edaaa6867e8016ce199 Mon Sep 17 00:00:00 2001 From: mmazab Date: Mon, 8 Dec 2014 03:18:35 -0500 Subject: [PATCH 3/5] Fixes to staging phase and experiments workload generation --- .../edu/umich/td/controller/Controller.class | Bin 6527 -> 6633 bytes .../umich/td/database/StatsCollector.class | Bin 5229 -> 5065 bytes .../edu/umich/td/database/TdDatabase.class | Bin 2786 -> 2416 bytes .../edu/umich/td/controller/Controller.java | 45 +++++++----- .../edu/umich/td/controller/StagingPhase.java | 68 +++++++++++------- .../edu/umich/td/database/StatsCollector.java | 8 +-- .../src/edu/umich/td/database/TdDatabase.java | 15 ++-- .../edu/umich/td/workload/QueriesPool.java | 14 ++-- .../src/edu/umich/td/workload/Query.java | 3 +- .../umich/td/workload/WorkLoadGenerator.java | 4 +- 10 files changed, 92 insertions(+), 65 deletions(-) diff --git a/DBProject/bin/edu/umich/td/controller/Controller.class b/DBProject/bin/edu/umich/td/controller/Controller.class index 5fc60bdfba0cde205da1a3beea1e1b7e52e34ae6..2460e9a4fcf955a66f30f4d9b02e2f8b4c45167d 100644 GIT binary patch delta 2053 zcmZ`)d2kbD6#u<%lWumqZ8n<(vV|5<3s|J74Q(MkWCmR6-R_ZX$_=kv!$9Uk4w^cz=JW=A?9_l#bPO{(I-+SLXe&2h$ z`Rc)tdi30(!vI3G;(+=bt*8vfQ^{B`8Hp!TUD053YE4%%)|t%&o970bBiTr>BXWJL zBNkoO6-y^#85KIpHB817Lg4aPWE7vDP9>WY>DZcVD!sKgPcO@36a;ZZ!wWb{P&Rjr zII#9>fo>HO@REj?QAu!Q5;w+d;1vz8;t@hYI+jdrVkip5$(iyM-lyVCye;D`g1#=Y z$B@Rf!^d~JQI&QZSA(1w!)zxAxsH>F<1K76O) zdu--t*>oc5!Vet3v9Ym9Q85N*H2j30t$5+Zjx#R&W<69`R&ti0txa^qGQmWuGP@b=9v#dr{-T5x=6JACK0`F2545b@^q#EADq5L{0o*xXl7TBRSMtCq2uR zoeKFC*ZzE_ceXK+x(lAd^Ete@|J=_~t=0pt=`a<)mc#ZOj;-9OkzX?vTb~~sz=ZZb zObTnGLeT)CjJy^u9u?d^yxxyDdZ31NQ_tbuetZ2N48{8_hipH-3>(JdVXx`7ElfkI?8i42`Mjm4a@c6>Dn1$^KV+ZPS7aH&=uTP>8 zeQ3f_UXP&~Z=)3_u#mgI4X3aOXRw5HEF}}m=t3-~nOH%MxPn&UN?MC{T92z~6Rx4H zxR!R}I=U09yXhfB=n$@_<5*3fAWDN+OQ*3&5E4Shdg0@B5>lc98$<{jMFY~J1zn;I zo5WIV7FXa#aW%Gy)woH-aI;8ayV!+W#9r(WhjFVoh1;Y6wn^oO zMRYMALJRaf7C@D$T81uT!tjp|B1l9)?O7}ld7OtLwy=VM5-r4N9y{R~0em4g-X>$8 zV@NR;z7a*)KMK}z+6REMn4jnG)c@>N|Bg~@M={)a9uR%RU3X|SyQs`l!$IFG_|r~2 zL}zh`tK~N~caO{*J;8SeuT=w7(>_3T{GZic(MR>;`>3IhE?GQ%T8`#U&rwSciWl?S zg~dyGf_Z9r*Cbp(t;{G-ElRk%fO`?ZeG!zxV&(lP#{>KUeb8=V9%Q?DtLQR5Ap5GK r#Vpxws*vPv5xiBQCA5?smP6$OUk1r$o>LT2nOgaCLznZTpyhu7(A>ZA delta 1942 zcmaJ?TW}L)6#mY?Nw(Q;o6RPHgqBOCh0@ZdG_*iMivqA{Ix5iy8m6T*DHlPB z7n~7LUe*U3#|OljdU=8}X#_=P90x>UM3jr*T~QPiymGH+n_3tj+(~xNp7Wh^{`39k z{Ch6YTdo|sxo01M0L|N}yi4WIrP0<%+~2V(5{pLSrSXnd1sV!ejKXMwYe6L3JU?xl z5o>Ro!Qk#Zaac|$7>rzWakwdDTvFF}ugrQ*SV*QagEX(DoG{4H zoP!cFjVI`RrA6EQCb5fSQLav=O3rk_EgDCYO>-4* z+AVWBWGHQ)qSBpM&ULQgL^%=DWvWWkU}M$8t?hBv)Y43uW*CPxFU>N}YDetTAj1Pl zA>(alO>uD&<(jP<60S6liOQTo0lI>z=P_hVZUKk=)+m2XL7m0K_Qe+W7mxOf+)^d-Gu>~bj}A>C5g{?F5M;Q6>W1;}$3Ym7>8I<0(nhB7k~~ zM%i|J|Hlc1N;MEm*W5bmR+xSvj; zmd;`coyS9T1xthtON9f=gcmI$4^dHsR#ApFQGpdAhz>CYF;R=Ss7I$*fK{R$YeXDt z#ST0oj$xg+ftaM=G0A}qk{gdpxp+bvjVC2Po|1w{Y(yrrk&mHf&+$kT9~~J|fCNcA zZ(eC6S;z{35mFA>SdvgExp=s&%wxG^rwr!FiV%bCq`-!1af32hC!$!svYEu)3WL?>KzNE ze^JE)iz?((?62oH#g%N=Jp~NS!_1K-XW@=b-maKXTQSj zXXJVr+bn&C!EpB*$ZtIA%}sm#2c!&y%QnL~9KERI)M;$O|L+=_Wj@_G`U%?&C^Gr! z8uoBad;oK2$jrnWe7EqkY%h&#+DifcS2Pv%(1hF`n%G03#**SBRhJ~GrVH7Pe1fnz zod=Vrk-hSe&(k59(}*G5IlwdUVpEt~aWfmYpa9RpkF92d@_?G3wKA&XZ7{Dgs%Oaz m!?VCWA=uSU4K$kr7C@mqnghusn3pJ;Wvb<`2R9HPXzo85eVju8 diff --git a/DBProject/bin/edu/umich/td/database/StatsCollector.class b/DBProject/bin/edu/umich/td/database/StatsCollector.class index 9bd6bc36dcdfd43d83e2241a1e6c7e3a289f9b03..dec511f997c7f93731100cc1815e30801e647f97 100644 GIT binary patch delta 1710 zcmZXUYg80v7{~wb-e#E{0XNJR3MV`X!gBTiLdT_|Ksam%0VPYkK+7@_ii<8Q(shea zx{29z5h}V^Qf7%#%dNDuBJG})m6cha`_`xEv_0?44oIEdoq6B)|IYI~@9+7~{*iSm zQ#}38#4!K``2C1@8C&e#)Z7&ChLw=N*&p_MJsu^HpIf*rH}7it73AmU=Pes4W%bq! z2X^2N0bLBvP5w^5r(;{2r!MRdD_fLcSi+sSOFeJ9X2m@W7GI55b|8ZL1>AS>_SH(q z_O@`HLfgCX0E4YX3HyR!dLqlW)F&cJruGpKaY z1Lmxy>v%!yMU-QYgi0jZu~+?5kkeF#d2)Fu)E<%p?ahi;7SVtwB|L?vRgZmPPCtVr z*R86Owc>U8841s#jKM(#k)$bh4657gm)c&G@Dlc`yX}Li!wkvV+1vcV7CL;WHP|BH zfPfLTJYj#y7{h!`-X3mk^HlmfZeQu&Dq<9}9g_@+mE~2nGN;_+?@(y%T?SUnIUSeq z9^O|o#U)86X{}MjVSFgzBTT6q#9Z4c38(Rix<|Ze(P#KVz~@FDtqcOFv?w77U*ap( z?rCc5vX_GJ&G2W)iREIO^Bk$*&9Wx%W5^|QM5;~!fiIT)VM8%TH~T! z4>1hHMuw2&6L-mLl+L`lR?>_b6T!={ft=5h@d^%5y{Y&ML$qe5 z$~*BYUZWnmwG^+zN`=Mp!VVJ%b!D7_G)69@w81soP|M7!<~5TQDzQ67T? z>wiQr0To9bF{;UOvBcLK{)UsT(?lWxZ{ck!%t2|mJCf*@O=(4%pP0mG{V2xObIGpA z1ob7Gdg6RXZ%nm&93ckYj5)?zPR7%mbj$?ji6}l8z!G=1u`-5_i-a6wwm=xer{nnA zj9X@mc9I*-ZWzsO7)|Y%KNk6($bb$sfgh+qhBRsuhiyV0dg5G{k~W>B+IC5A4(CYDK^VW%$b>~?blsJiD2~(1LprCYrl+Lm(OLBG U+#~8{`rNFhzfN~w*eQz*Cu z6hv`n+^AX{<3wqrTN zNU2H*De_%%lOjcG8|1Jeg`+ZA>Ly5n11oSZkChD0hS0K*ulb%v-{5u;_u+nZzwP?s z7=tBP5s(~MjfZ$Vc=7hxa&t?gQY9-Q)?h7ztzK4wO$wdJ4UP{A2xFayrFcZ0&R-o{ zPqsmhS>P zo};pa|Ea4n(yW&ypad_7D8&#vHZo+p-EOJsma-Cc6Q7y=5<{9)5{*WpQaDm42P6SC zctu1zHmN805qYmMh}v$$zX5L%@j8ka98?@ZIz@JDRfpP#+qQ|=jvcDk-k#OVkfHO~ z7;35~BBM*1>Ur$su}3{?-!g4Km88Qh%92K3X{hccUdicSj8cZhngV^;q=WyA;w@botO$g zZlKkT2w)n`rlT4&P*2|m+=Ldyim-~n_0-;5F%vte!@CefKW@hRG(SZ1W2m5Tl{kqx zIEC9t)Oq-s+?>OFmWc(-hufJS3t0d)YzF4BnOKagD5cqk$|yrQtw?Wl!UnpVtQc=$ zCl!>%CdBYI8B-|R?bwCgRD~Z=N}(H8$~uB~@Gjve(MrlMCbW_~%>$pHa(EuqJbHNa z>Ej9>s~IS(k_2*Ly$l57(LXGK3|KBk5F>ldc{pi2heb%mdsH_E2ZiCV7wPnIQ&@r4 z2lilJbq_u$bB^sr&fG3!b-~$%;k}qxuJ`Ey6535lIu99g&hqpj%AiSjNpDY~-qxG- zBMw35(KwE^VVuWpntE}vfX_2mnS3w4=)<=um^;|a2Ro1+uqV6IWjFd%J)Y4Y`-#W` z@!n4g3B+|a+I0RoYLGQas;A(NB-KTvxIy(y6eX!%iYsu2Nau-g0kcSZ4!@93k-Qmx zwV5VEjV41-lYulit+N`VSyG2d2|7Y53}PCjtKdiw&7{HwL^lfwipd#f%`lC^(;Gy= zNCdWsdW0SgC_2->64QAa)4$Q+xj?zP)|u|tACV+i8*z>KEEJd*Jd^JX*i7(e)>Jk DXO`6+ diff --git a/DBProject/bin/edu/umich/td/database/TdDatabase.class b/DBProject/bin/edu/umich/td/database/TdDatabase.class index 35a504edcde189febccec804d5da378e4548dd77..f636dec957c622efdd396d90de98fdaf34d4cc7d 100644 GIT binary patch delta 309 zcmXAj%}N4M6vuy8%R4ink)Tq876z7&fyyu3zdQkOhe%1Gar%!j# zB(<-uOr$gF+U)Cll{Me`AzvWDI1Uq}n8c+-o+%1U%PE^jt3Bdj2{%PRnmMx6O=!>C z31SS0anrQyhV#tUY?qTRkx4r4T_|x_Koc>{A~_l&SrWlAWmcGx>ai}^4Z&^`vLlII znjA1Ho0UGARo3Js5>DltN_Z8{I2U!m7#AGLtts;o@g7Cunmx^>E^>_0w5*ZFj9zLldZq$a+a^k)|nDXdv+dRz<4@D;gSOvf5fPq$SG&Dr&vo zZ@7rQ_-5jZFB(!4P4v;kzrh#%3w)P|-?q`fOfow&=bZ1HZ}wO4XM_LSpO2q`t-PG_ z&#KO;FCjgdh$f=(WaqmdP2RG`s3LUE95-XbX0Z^<*w#?7&@(nPoXcA}V~XWQ%Cbt9 zak`YtcNu;xCIYM>u25F^%#o3NF{fA??u(=s znw1y0b-R*l0j{${q1&Ze6rGz=-^lc*jf`#D)d*Q`2e{+XmWi=IRm7Fwa~KLMLeOml>7bFM6VW@C7FZ$^W}LHnPx%dp-gEd9)?m>7z<67Q z^A#>txLRT7Kj20UxK-iqV&Fjyc=R7=`#L}Cc}pD{8)Uj8F26gAhgGuQFF|0tpu1Q} z4 queriesFeaturesList = new ArrayList(); ArrayList featuresList = new ArrayList(); - ArrayList queries = qpool.ReadQueriesFromFile("files/queries.sql"); + ArrayList queries = qpool.ReadQueriesFromDirectory("/home/mahmoud/Documents/DB/Data/labeledQueries"); qpool.ClusterQueries(); int qTotalCount = qpool.TotalQueriesCount(); @@ -47,26 +47,35 @@ public static void main(String[] args) { int samplesCount = 0; int batchSize = 0; - qpool.ResetInclusionCount(); - Query.Max_COUNT = 6; - samplesCount = 100; - batchSize = 5; - - if (samplesCount * batchSize <= qTotalCount * Query.Max_COUNT) { - workload.Generate(batchSize, samplesCount); + for (int j = 0; j < 5; j++) { qpool.ResetInclusionCount(); - } else { - System.err - .printf("The queries pool of size %d cannot generate %d samples with size %d using maximum repetition count of %d\n", - qTotalCount, samplesCount, batchSize, Query.Max_COUNT); - System.err.printf("Please increase the maximum repetition count to at least %d\n", - (int) Math.ceil((double) ((samplesCount * batchSize) / qTotalCount)) + 1); + Query.Max_COUNT = 10 - j; + samplesCount = 200 - j*35 ; + batchSize = 5 * j; + if (samplesCount * batchSize <= qTotalCount * Query.Max_COUNT) { + workload.Generate(batchSize, samplesCount); + } else { + System.err + .printf("The queries pool of size %d cannot generate %d samples with size %d using maximum repetition count of %d\n", + qTotalCount, samplesCount, batchSize, Query.Max_COUNT); + System.err.printf("Please increase the maximum repetition count to at least %d\n", + (int) Math.ceil((double) ((samplesCount * batchSize) / qTotalCount)) + 1); + } } + + + + + + + ArrayList failedQueries = new ArrayList(); ArrayList qtimeStamps = new ArrayList(); Connection con = TdDatabase.OpenConnection(); - for (int i = 0; i < queries.size(); i++) { + for (int i = 0; i < workload.wlQueries.size(); i++) { + + System.out.println("=========\tProcessing Query #" + i + "\t========="); QTextFeatureExtractor qtFeatExtractor = new QTextFeatureExtractor(); featuresList = qtFeatExtractor.ExtractFeatures(queries.get(i)); @@ -109,8 +118,8 @@ public static void main(String[] args) { } catch (InterruptedException e) { e.printStackTrace(); } - - Connection statsCon = StatsCollector.OpenConnection(); + + Connection statsCon = StatsCollector.OpenConnection(); for (int i = 0; i < qtimeStamps.size(); i++) { int[] CpuIo = { 0, 0 }; System.out.println("Collecting CPU and I/O usage ..."); @@ -121,7 +130,7 @@ public static void main(String[] args) { sbuildCPU.append(CpuIo[1] + "\t" + queriesFeaturesList.get(i).trim() + "\n"); System.err.println("===>\t" + CpuIo[0] + "\t" + CpuIo[1] + "\t"); } - + StatsCollector.CloseConnection(statsCon); TdDatabase.CloseConnection(con); diff --git a/DBProject/src/edu/umich/td/controller/StagingPhase.java b/DBProject/src/edu/umich/td/controller/StagingPhase.java index 02d023e..c4fe87d 100644 --- a/DBProject/src/edu/umich/td/controller/StagingPhase.java +++ b/DBProject/src/edu/umich/td/controller/StagingPhase.java @@ -15,41 +15,54 @@ public class StagingPhase { public static void main(String[] args) { // 1- Load queries into the query pool from the files // 2- Run all the queries sequentially to detect each queries behavior - + QueriesPool qpool = new QueriesPool(); + ArrayList queries = qpool.ReadQueriesFromDirectory("/home/mahmoud/Documents/DB/Data/TrainingData"); - + // ArrayList queries = + // qpool.ReadQueriesFromDirectory("/root/Documents/DB/Data/TrainingData"); + ArrayList failedQueries = new ArrayList(); ArrayList qtimeStamps = new ArrayList(); Connection con = TdDatabase.OpenConnection(); - - TdDatabase.ExecuteQuery(con, "database TPCH;"); - - + + boolean status = TdDatabase.ExecuteQuery(con, "database TPCH;"); + for (int i = 0; i < queries.size(); i++) { - //Write queries to file after processing 100 queries - if(i % 100 == 0){ - Connection statsCon = StatsCollector.OpenConnection(); + // Write queries to file after processing 100 queries + + if (i % 10 == 0 || !status) { + try { + Thread.sleep(15000); + } catch (InterruptedException e) { + e.printStackTrace(); + } + Connection statsCon = StatsCollector.OpenConnection(); for (int j = 0; j < qtimeStamps.size(); j++) { - int[] CpuIo = { 0, 0 }; - System.out.println("Collecting CPU and I/O usage ..."); - CpuIo = StatsCollector.CollectCpuIO(statsCon, "Q" + qtimeStamps.get(j)); - queries.get(j).cpuCnt = CpuIo[0]; - queries.get(j).ioCnt = CpuIo[1]; - System.err.println("===>\t" + CpuIo[0] + "\t" + CpuIo[1] + "\t"); + if (!queries.get(j).written && (queries.get(j).ioCnt + queries.get(j).cpuCnt > 0)) { + int[] CpuIo = { 0, 0 }; + System.out.println("Collecting CPU and I/O usage ..."); + CpuIo = StatsCollector.CollectCpuIO(statsCon, "Q" + qtimeStamps.get(j)); + System.err.println("===>\t" + CpuIo[0] + "\t" + CpuIo[1] + "\t"); + queries.get(j).cpuCnt = CpuIo[0]; + queries.get(j).ioCnt = CpuIo[1]; + + } } StatsCollector.CloseConnection(statsCon); + qpool.WriteFilesToDirectory("/home/mahmoud/Documents/DB/Data/labeledQueries"); + + // qpool.WriteFilesToDirectory("/root/Documents/DB/Data/labeledQueries"); } - - + System.out.println("========= Query #" + i + " on the stage\t========="); - System.out.println(queries.get(i).parentFolder+ "/" +queries.get(i).fileName); + System.out.println(queries.get(i).parentFolder + "/" + queries.get(i).fileName); String query = queries.get(i).qText; long timeStamp = System.currentTimeMillis(); query = query.replaceFirst("\n", "/*Q" + System.currentTimeMillis() + "*/\n"); - boolean status = TdDatabase.ExecuteQuery(con, query); - + status = TdDatabase.ExecuteQuery(con, query); + queries.get(i).status = status; // Query failed to execute properly if (!status) { failedQueries.add(i); @@ -62,16 +75,18 @@ public static void main(String[] args) { } for (int i = 0; i < failedQueries.size(); i++) { queries.remove(failedQueries.get(i)); + System.err.println(queries.get(failedQueries.get(i)).parentFolder + "\t" + + queries.get(failedQueries.get(i)).fileName); } - + try { Thread.sleep(15000); } catch (InterruptedException e) { e.printStackTrace(); } - Connection statsCon = StatsCollector.OpenConnection(); - + Connection statsCon = StatsCollector.OpenConnection(); + for (int i = 0; i < qtimeStamps.size(); i++) { int[] CpuIo = { 0, 0 }; System.out.println("Collecting CPU and I/O usage ..."); @@ -80,13 +95,12 @@ public static void main(String[] args) { queries.get(i).ioCnt = CpuIo[1]; System.err.println("===>\t" + CpuIo[0] + "\t" + CpuIo[1] + "\t"); } - - + StatsCollector.CloseConnection(statsCon); TdDatabase.CloseConnection(con); - - + qpool.WriteFilesToDirectory("/home/mahmoud/Documents/DB/Data/labeledQueries"); + // qpool.WriteFilesToDirectory("/root/Documents/DB/Data/labeledQueries"); } } diff --git a/DBProject/src/edu/umich/td/database/StatsCollector.java b/DBProject/src/edu/umich/td/database/StatsCollector.java index 19b5c3a..52203f2 100644 --- a/DBProject/src/edu/umich/td/database/StatsCollector.java +++ b/DBProject/src/edu/umich/td/database/StatsCollector.java @@ -14,7 +14,7 @@ public class StatsCollector { public static String sUser = "dbc"; public static String sPassword = "eecs58414"; - public static String url = "jdbc:teradata://ec2-54-84-4-187.compute-1.amazonaws.com"; + public static String url = "jdbc:teradata://ec2-54-174-132-214.compute-1.amazonaws.com"; public static Map tables; @@ -53,7 +53,7 @@ public static int[] CollectCpuIO(Connection con, String query) { // Loading the Teradata JDBC driver try { Statement stmt = con.createStatement(); - System.out.println(" Statement object created. \n"); + //System.out.println(" Statement object created. \n"); try { ResultSet rs = stmt.executeQuery(getData); @@ -66,11 +66,11 @@ public static int[] CollectCpuIO(Connection con, String query) { CpuIO[0] = rs.getInt(1); CpuIO[1] = rs.getInt(2); } - System.out.println("\n " + rowCount + " row(s) returned."); + //System.out.println("\n " + rowCount + " row(s) returned."); } finally { // Close the statement stmt.close(); - System.out.println("\n Statement object closed. \n"); + //System.out.println("\n Statement object closed. \n"); } } finally { diff --git a/DBProject/src/edu/umich/td/database/TdDatabase.java b/DBProject/src/edu/umich/td/database/TdDatabase.java index d152798..3853345 100644 --- a/DBProject/src/edu/umich/td/database/TdDatabase.java +++ b/DBProject/src/edu/umich/td/database/TdDatabase.java @@ -19,8 +19,7 @@ public class TdDatabase { // Credentials public static String sUser = "mazab"; public static String sPassword = "eecs584"; - - public static String url = "jdbc:teradata://ec2-54-84-4-187.compute-1.amazonaws.com"; + public static String url = "jdbc:teradata://ec2-54-174-132-214.compute-1.amazonaws.com"; @@ -80,12 +79,12 @@ public static boolean ExecuteQuery(Connection con, String query) { // together. System.out.println(); System.out.println("*** SQLException caught ***"); - - while (ex != null) { - System.out.println(" Error code: " + ex.getErrorCode()); - System.out.println(" SQL State: " + ex.getSQLState()); - System.out.println(" Message: " + ex.getMessage()); - } + System.out.println(ex.getMessage()); + //while (ex != null) { + // System.out.println(" Error code: " + ex.getErrorCode()); + // System.out.println(" SQL State: " + ex.getSQLState()); + // System.out.println(" Message: " + ex.getMessage()); + //} return false; } } diff --git a/DBProject/src/edu/umich/td/workload/QueriesPool.java b/DBProject/src/edu/umich/td/workload/QueriesPool.java index f5b2693..5626f17 100644 --- a/DBProject/src/edu/umich/td/workload/QueriesPool.java +++ b/DBProject/src/edu/umich/td/workload/QueriesPool.java @@ -151,10 +151,10 @@ public void ClusterQueries() { CPU_AVG = cpuSum / QueriesList.size(); for (int i = 0; i < QueriesList.size(); i++) { - long cpu = QueriesList.get(i).cpuCnt; + long cpu = QueriesList.get(i).cpuCnt; long io = QueriesList.get(i).ioCnt; // 1- High CPU, High I/O - if (cpu > CPU_AVG && io > IO_AVG) { + if (cpu > CPU_AVG && io > IO_AVG) { hCPU_hIOList.add(QueriesList.get(i)); }// 2- High CPU, low I/O else if (cpu > CPU_AVG && io <= IO_AVG) { @@ -195,9 +195,13 @@ public ArrayList ReadStatsFiles(String fileName) { public void WriteFilesToDirectory(String targetDirectory) { for (Query q : QueriesList) { - new File(targetDirectory + "/" + q.parentFolder).mkdirs(); - String text = q.cpuCnt + "\n" + q.ioCnt + "\n" + q.qText; - WriteQueryToFile(targetDirectory + "/" + q.parentFolder + "/" + q.fileName, text, false); + if (q.status && (q.cpuCnt+q.ioCnt != 0)) { + new File(targetDirectory + "/" + q.parentFolder).mkdirs(); + String text = q.cpuCnt + "\n" + q.ioCnt + "\n" + q.qText; + WriteQueryToFile(targetDirectory + "/" + q.parentFolder + "/" + q.fileName, text, false); + System.err.println("Just wrote back " + targetDirectory + "/" + q.parentFolder + "/" + q.fileName+"\t io " + q.ioCnt +"\t cpu" + q.cpuCnt); + q.written = true; + } } } diff --git a/DBProject/src/edu/umich/td/workload/Query.java b/DBProject/src/edu/umich/td/workload/Query.java index 3fd224c..c864d8f 100644 --- a/DBProject/src/edu/umich/td/workload/Query.java +++ b/DBProject/src/edu/umich/td/workload/Query.java @@ -14,7 +14,8 @@ public class Query { public long cpuCnt = 0; public String fileName =""; public String parentFolder = ""; - + public boolean written = false; + public boolean status = true; public Query(String text) { this.qText = text; } diff --git a/DBProject/src/edu/umich/td/workload/WorkLoadGenerator.java b/DBProject/src/edu/umich/td/workload/WorkLoadGenerator.java index e87732b..39acddd 100644 --- a/DBProject/src/edu/umich/td/workload/WorkLoadGenerator.java +++ b/DBProject/src/edu/umich/td/workload/WorkLoadGenerator.java @@ -16,7 +16,7 @@ public class WorkLoadGenerator { int samplesCnt = 0; //The generated Workload Queries - ArrayList> wlQueries; + public ArrayList> wlQueries; // Random variable to select which pool to grab from and how many queries to be grabbed static Random whichPool = new Random(); @@ -39,7 +39,7 @@ public void Generate(int batchSize, int samplesCnt) { //The target number of samples that the WorkloadGenerator will generate this.samplesCnt = samplesCnt; //Special case when the batch size equals 1, we generate all the queries to run sequentially - if (wlCNT == 1) + if (wlCNT == 0) GenerateAll(); else { for (int i = 0; i < samplesCnt; i++) { From 5813ac65cfb8f1074f6c5223daef819d7db09e92 Mon Sep 17 00:00:00 2001 From: mmazab Date: Mon, 8 Dec 2014 23:09:17 -0500 Subject: [PATCH 4/5] Workload generation and Controller --- .../edu/umich/td/controller/Controller.class | Bin 6633 -> 9058 bytes .../umich/td/database/StatsCollector.class | Bin 5065 -> 5065 bytes .../edu/umich/td/database/TdDatabase.class | Bin 2416 -> 2416 bytes .../fextractors/QTextFeatureExtractor.class | Bin 6031 -> 6021 bytes DBProject/files/Training/CPU_1_ALL.train | 1136 +++++++++++++++++ DBProject/files/Training/CPU_1_PLAN.train | 1136 +++++++++++++++++ DBProject/files/Training/CPU_1_TEXT.train | 1136 +++++++++++++++++ DBProject/files/Training/CPU_1_WL.train | 1136 +++++++++++++++++ DBProject/files/Training/IO_1_ALL.train | 1136 +++++++++++++++++ DBProject/files/Training/IO_1_PLAN.train | 1136 +++++++++++++++++ DBProject/files/Training/IO_1_TEXt.train | 1136 +++++++++++++++++ DBProject/files/Training/IO_1_WL.train | 1136 +++++++++++++++++ DBProject/files/tmp.feat | 2 +- DBProject/files/tmp.sql | 11 +- DBProject/hs_err_pid11735.log | 719 +++++++++++ DBProject/hs_err_pid12077.log | 720 +++++++++++ DBProject/hs_err_pid3413.log | 749 +++++++++++ DBProject/plan.xml | 168 +++ .../edu/umich/td/controller/Controller.java | 269 ++-- .../edu/umich/td/controller/StagingPhase.java | 28 +- .../td/controller/WorkLoadCreationPhase.java | 51 + .../edu/umich/td/database/StatsCollector.java | 2 +- .../src/edu/umich/td/database/TdDatabase.java | 2 +- .../td/fextractors/QPlanFeatureExtractor.java | 41 +- .../td/fextractors/QTextFeatureExtractor.java | 13 +- .../td/fextractors/WKLDFeatureExtractor.java | 65 + .../edu/umich/td/fextractors/XMLHandler.java | 8 +- .../edu/umich/td/workload/DataInstance.java | 14 + .../edu/umich/td/workload/QueriesPool.java | 1 + .../src/edu/umich/td/workload/Query.java | 11 + .../umich/td/workload/WorkLoadGenerator.java | 82 ++ 31 files changed, 11900 insertions(+), 144 deletions(-) create mode 100644 DBProject/files/Training/CPU_1_ALL.train create mode 100644 DBProject/files/Training/CPU_1_PLAN.train create mode 100644 DBProject/files/Training/CPU_1_TEXT.train create mode 100644 DBProject/files/Training/CPU_1_WL.train create mode 100644 DBProject/files/Training/IO_1_ALL.train create mode 100644 DBProject/files/Training/IO_1_PLAN.train create mode 100644 DBProject/files/Training/IO_1_TEXt.train create mode 100644 DBProject/files/Training/IO_1_WL.train create mode 100644 DBProject/hs_err_pid11735.log create mode 100644 DBProject/hs_err_pid12077.log create mode 100644 DBProject/hs_err_pid3413.log create mode 100644 DBProject/plan.xml create mode 100644 DBProject/src/edu/umich/td/controller/WorkLoadCreationPhase.java create mode 100644 DBProject/src/edu/umich/td/fextractors/WKLDFeatureExtractor.java create mode 100644 DBProject/src/edu/umich/td/workload/DataInstance.java diff --git a/DBProject/bin/edu/umich/td/controller/Controller.class b/DBProject/bin/edu/umich/td/controller/Controller.class index 2460e9a4fcf955a66f30f4d9b02e2f8b4c45167d..3ca2953f0bb07e8c932f2e258f8c61e93fe73a9d 100644 GIT binary patch literal 9058 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 Af&c&j diff --git a/DBProject/bin/edu/umich/td/database/StatsCollector.class b/DBProject/bin/edu/umich/td/database/StatsCollector.class index dec511f997c7f93731100cc1815e30801e647f97..afb8c996a99756615fe24150e622fcad1ad30d7d 100644 GIT binary patch delta 23 dcmX@9eo}pdH6xdqsjiW+84z1;c4cf40svKh24nyL delta 23 ecmX@9eo}pdH6xd~iLRlsk*<-U$!1r^79jvt9|l+e diff --git a/DBProject/bin/edu/umich/td/database/TdDatabase.class b/DBProject/bin/edu/umich/td/database/TdDatabase.class index f636dec957c622efdd396d90de98fdaf34d4cc7d..dac8e7f1f2a1d0dc38f84d410938f1397ae94900 100644 GIT binary patch delta 21 bcmew$^g(FCbuKegT_a;NAhz82u%80}Swsh& delta 21 ccmew$^g(FCbuM!gT|;9dT_Z!2jSu@d09f${kpKVy diff --git a/DBProject/bin/edu/umich/td/fextractors/QTextFeatureExtractor.class b/DBProject/bin/edu/umich/td/fextractors/QTextFeatureExtractor.class index 1bd928a25b6e34c160b96d27c2f6992f3aee30fb..8a89e2564fd2734ce634549281fe13601924888f 100644 GIT binary patch delta 1496 zcmY*ZYfM{p6#tzvbOH9~sEl8sCgMQc&Co<<_>csbRI_Fzqp4$$|?uY+5Ip_B~&;S2E zuIyE^PcFUkDu6n=S%8kkgs5FJb zL0=@q^@~(ZP6oN8{1_cw0I)GX{fi*aSI(0thf~gXE zh+unNW6~Lp_W~_}t5B@>!-}`<7wq@mx== z8ae?a;92e1%{+co4Almq!`Iq4X)2imm~+PAJ_Lj1o7P##{sfBJj^Vo*{7jg^?}YXj z@q%jx{}N7+&YLc$&rmw+P`r9g7c{%*H8@_zVObw1=@1+>@+{W-XR*O=rR)SYvK`?# znyq9}$MXtfSKD%rp*4Z+adh}TkXU47*Avj{XCp|@g@UK^EK3VxP_@akL2c9 z;a^oT&xjudUgM38@Z@YbN+q<4cj(5`R7y5Z?Ztj7W1OCYKSY}V_x;bT zNHQxmY9&)2Wmqxv;vxzK$O0CZ&>;|SP7z2{r}K+TtNgQ6&6C{kcO-D2I6;mCx!PUM zIC)%gs#7oJS2aF>LViOf7)BWvS&318M`Ou`)^bsRht_gQ+UKF`k`1wj&2&ANRR|N^ cKsTy)78DoU#0VXEsh%bOib;oyw9a7q50u+M!T3$w6g_vQGjEnR&`#H(EuBKQX_=*h3Io)lEG@K!u(TG$GU96~Dbq5(7Meh+ zQ7{;Sm`7BM%RfnQ35!mtO%(qaWSETy))k7Z`WdaZ$i7x9}0#1F7)6< z7mndA6>sCDK-m)O)E9Oq1lEc`y#uEOY4f||nhSz6DzcGd?%q>z7VjG;U2SfGZF8@d z=ob_kOO-<79`~8_uW7V$*$s70e2eo6zB3YP!1_IYFdkJ4^Dp3M1wRQq8)JR3aIfCk z6>g06sQ3lH8mHCb{NM4XfnXF3ktF^xYCO4C5sPu7$Gl- zk_B-+(eD4v)MS&=I#1tE7#y3Q0E=?>r zXO>ouGM2*gNL3P{{jhsS8;0R)9YlWP5qvX*9|c4BP0(}zj|YcvQE*(W(KKJ$kl46K zIBGNZ4)fj}wO2lahkdrBc=n@mTJ11uT8B~FnkgBBn9qB3B~hO#nMcqth~-JFYB_-N zY5xbyHXh0@oRm9m<+CTnciApDB$JGh?3{tsq`!u#+{6Z~g&#L_-rCsZb?kEt3)%bS z>~TLdR-qj)QGbG^Fq>63o_MN7JYqx&Sqwf8yns7cWedF>mdR4Ys)z8P_@$W5iek4+ zArl|VeUpDXRR2U`KS_nG= date '1995-07-01'; diff --git a/DBProject/hs_err_pid11735.log b/DBProject/hs_err_pid11735.log new file mode 100644 index 0000000..a789f97 --- /dev/null +++ b/DBProject/hs_err_pid11735.log @@ -0,0 +1,719 @@ +# +# There is insufficient memory for the Java Runtime Environment to continue. +# Native memory allocation (malloc) failed to allocate 142606336 bytes for committing reserved memory. +# Possible reasons: +# The system is out of physical RAM or swap space +# In 32 bit mode, the process size limit was hit +# Possible solutions: +# Reduce memory load on the system +# Increase physical memory or swap space +# Check if swap backing store is full +# Use 64 bit Java on a 64 bit OS +# Decrease Java heap size (-Xmx/-Xms) +# Decrease number of Java threads +# Decrease Java thread stack sizes (-Xss) +# Set larger code cache with -XX:ReservedCodeCacheSize= +# This output file may be truncated or incomplete. +# +# Out of Memory Error (os_linux.cpp:2798), pid=11735, tid=140450210555648 +# +# JRE version: OpenJDK Runtime Environment (7.0_65-b32) (build 1.7.0_65-b32) +# Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops) +# Derivative: IcedTea 2.5.3 +# Distribution: Ubuntu 14.04 LTS, package 7u71-2.5.3-0ubuntu0.14.04.1 +# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again +# + +--------------- T H R E A D --------------- + +Current thread (0x00007fbd18075800): VMThread [stack: 0x00007fbd1cd8a000,0x00007fbd1ce8b000] [id=11746] + +Stack: [0x00007fbd1cd8a000,0x00007fbd1ce8b000], sp=0x00007fbd1ce89490, free space=1021k +Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) +V [libjvm.so+0x948b05] VMError::report_and_die()+0x175 +V [libjvm.so+0x48bc34] report_vm_out_of_memory(char const*, int, unsigned long, char const*)+0x74 +V [libjvm.so+0x7c7bfb] os::pd_commit_memory(char*, unsigned long, unsigned long, bool)+0xeb +V [libjvm.so+0x7c26bf] os::commit_memory(char*, unsigned long, unsigned long, bool)+0x1f +V [libjvm.so+0x833e4b] PSVirtualSpace::expand_by(unsigned long)+0x5b +V [libjvm.so+0x834ca0] PSYoungGen::resize_generation(unsigned long, unsigned long)+0xb0 +V [libjvm.so+0x83538b] PSYoungGen::resize(unsigned long, unsigned long)+0x1b +V [libjvm.so+0x831670] PSScavenge::invoke_no_policy()+0xde0 +V [libjvm.so+0x831e48] PSScavenge::invoke()+0x38 +V [libjvm.so+0x7e8823] ParallelScavengeHeap::failed_mem_allocate(unsigned long)+0x63 +V [libjvm.so+0x94a504] VM_ParallelGCFailedAllocation::doit()+0x84 +V [libjvm.so+0x94e9f7] VM_Operation::evaluate()+0x47 +V [libjvm.so+0x94d368] VMThread::evaluate_operation(VM_Operation*)+0x318 +V [libjvm.so+0x94d7c9] VMThread::loop()+0x219 +V [libjvm.so+0x94dc12] VMThread::run()+0x72 +V [libjvm.so+0x7c4ac2] java_start(Thread*)+0xf2 + +VM_Operation (0x00007fbd21ff52d0): ParallelGCFailedAllocation, mode: safepoint, requested by thread 0x00007fbd1800a000 + + +--------------- P R O C E S S --------------- + +Java Threads: ( => current thread ) + 0x00007fbd180b0800 JavaThread "Service Thread" daemon [_thread_blocked, id=11753, stack(0x00007fbd1c0a2000,0x00007fbd1c1a3000)] + 0x00007fbd180ae000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=11752, stack(0x00007fbd1c1a3000,0x00007fbd1c2a4000)] + 0x00007fbd180ab000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=11751, stack(0x00007fbd1c2a4000,0x00007fbd1c3a5000)] + 0x00007fbd180a9000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=11750, stack(0x00007fbd1c3a5000,0x00007fbd1c4a6000)] + 0x00007fbd1807c000 JavaThread "Finalizer" daemon [_thread_blocked, id=11748, stack(0x00007fbd1cb88000,0x00007fbd1cc89000)] + 0x00007fbd1807a000 JavaThread "Reference Handler" daemon [_thread_blocked, id=11747, stack(0x00007fbd1cc89000,0x00007fbd1cd8a000)] + 0x00007fbd1800a000 JavaThread "main" [_thread_blocked, id=11740, stack(0x00007fbd21ef6000,0x00007fbd21ff7000)] + +Other Threads: +=>0x00007fbd18075800 VMThread [stack: 0x00007fbd1cd8a000,0x00007fbd1ce8b000] [id=11746] + 0x00007fbd180bb800 WatcherThread [stack: 0x00007fbd14eff000,0x00007fbd15000000] [id=11754] + +VM state:at safepoint (normal execution) + +VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) +[0x00007fbd180064a0] Threads_lock - owner thread: 0x00007fbd18075800 +[0x00007fbd180069a0] Heap_lock - owner thread: 0x00007fbd1800a000 + +Heap + PSYoungGen total 143360K, used 24554K [0x00000000ebd00000, 0x00000000f6900000, 0x0000000100000000) + eden space 118784K, 0% used [0x00000000ebd00000,0x00000000ebd00000,0x00000000f3100000) + from space 24576K, 99% used [0x00000000f3100000,0x00000000f48fab98,0x00000000f4900000) + to space 16384K, 0% used [0x00000000f4900000,0x00000000f4900000,0x00000000f5900000) + ParOldGen total 44032K, used 43819K [0x00000000c3800000, 0x00000000c6300000, 0x00000000ebd00000) + object space 44032K, 99% used [0x00000000c3800000,0x00000000c62cad58,0x00000000c6300000) + PSPermGen total 21504K, used 9159K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 42% used [0x00000000b9200000,0x00000000b9af1f38,0x00000000ba700000) + +Card table byte_map: [0x00007fbd1e903000,0x00007fbd1eb3b000] byte_map_base: 0x00007fbd1e33a000 + +Polling page: 0x00007fbd22015000 + +Code Cache [0x00007fbd15000000, 0x00007fbd15270000, 0x00007fbd18000000) + total_blobs=492 nmethods=194 adapters=251 free_code_cache=48312Kb largest_free_block=49444672 + +Compilation events (10 events): +Event: 170.532 Thread 0x00007fbd180ae000 190 s java.lang.StringBuffer::length (5 bytes) +Event: 170.533 Thread 0x00007fbd180ae000 nmethod 190 0x00007fbd150ace50 code [0x00007fbd150acf80, 0x00007fbd150ad198] +Event: 187.165 Thread 0x00007fbd180ab000 191 com.teradata.jdbc.ComUtil::findSubString (301 bytes) +Event: 187.183 Thread 0x00007fbd180ab000 nmethod 191 0x00007fbd150d5e10 code [0x00007fbd150d6300, 0x00007fbd150d7e88] +Event: 415.949 Thread 0x00007fbd180ae000 192 sun.nio.cs.US_ASCII$Encoder::encode (107 bytes) +Event: 415.956 Thread 0x00007fbd180ae000 nmethod 192 0x00007fbd150bfcd0 code [0x00007fbd150bfe40, 0x00007fbd150c0178] +Event: 419.581 Thread 0x00007fbd180ab000 193 java.lang.AbstractStringBuilder::append (144 bytes) +Event: 419.581 Thread 0x00007fbd180ae000 194 com.teradata.jdbc.ComUtil::remLineFeeds (227 bytes) +Event: 419.592 Thread 0x00007fbd180ab000 nmethod 193 0x00007fbd150cc690 code [0x00007fbd150cc800, 0x00007fbd150ccc88] +Event: 419.594 Thread 0x00007fbd180ae000 nmethod 194 0x00007fbd150c6390 code [0x00007fbd150c66e0, 0x00007fbd150c7528] + +GC Heap History (10 events): +Event: 0.232 GC heap after +Heap after GC invocations=2 (full 0): + PSYoungGen total 34304K, used 1616K [0x00000000ebd00000, 0x00000000ee100000, 0x0000000100000000) + eden space 31744K, 0% used [0x00000000ebd00000,0x00000000ebd00000,0x00000000edc00000) + from space 2560K, 63% used [0x00000000ede80000,0x00000000ee014010,0x00000000ee100000) + to space 2560K, 0% used [0x00000000edc00000,0x00000000edc00000,0x00000000ede80000) + ParOldGen total 40960K, used 8K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 0% used [0x00000000c3800000,0x00000000c3802000,0x00000000c6000000) + PSPermGen total 21504K, used 2862K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 13% used [0x00000000b9200000,0x00000000b94cbbf0,0x00000000ba700000) +} +Event: 0.340 GC heap before +{Heap before GC invocations=3 (full 0): + PSYoungGen total 34304K, used 33360K [0x00000000ebd00000, 0x00000000ee100000, 0x0000000100000000) + eden space 31744K, 100% used [0x00000000ebd00000,0x00000000edc00000,0x00000000edc00000) + from space 2560K, 63% used [0x00000000ede80000,0x00000000ee014010,0x00000000ee100000) + to space 2560K, 0% used [0x00000000edc00000,0x00000000edc00000,0x00000000ede80000) + ParOldGen total 40960K, used 8K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 0% used [0x00000000c3800000,0x00000000c3802000,0x00000000c6000000) + PSPermGen total 21504K, used 2879K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 13% used [0x00000000b9200000,0x00000000b94cfe98,0x00000000ba700000) +Event: 0.342 GC heap after +Heap after GC invocations=3 (full 0): + PSYoungGen total 34304K, used 2544K [0x00000000ebd00000, 0x00000000f0000000, 0x0000000100000000) + eden space 31744K, 0% used [0x00000000ebd00000,0x00000000ebd00000,0x00000000edc00000) + from space 2560K, 99% used [0x00000000edc00000,0x00000000ede7c030,0x00000000ede80000) + to space 2560K, 0% used [0x00000000efd80000,0x00000000efd80000,0x00000000f0000000) + ParOldGen total 40960K, used 144K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 0% used [0x00000000c3800000,0x00000000c3824000,0x00000000c6000000) + PSPermGen total 21504K, used 2879K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 13% used [0x00000000b9200000,0x00000000b94cfe98,0x00000000ba700000) +} +Event: 0.723 GC heap before +{Heap before GC invocations=4 (full 0): + PSYoungGen total 34304K, used 34288K [0x00000000ebd00000, 0x00000000f0000000, 0x0000000100000000) + eden space 31744K, 100% used [0x00000000ebd00000,0x00000000edc00000,0x00000000edc00000) + from space 2560K, 99% used [0x00000000edc00000,0x00000000ede7c030,0x00000000ede80000) + to space 2560K, 0% used [0x00000000efd80000,0x00000000efd80000,0x00000000f0000000) + ParOldGen total 40960K, used 144K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 0% used [0x00000000c3800000,0x00000000c3824000,0x00000000c6000000) + PSPermGen total 21504K, used 7605K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 35% used [0x00000000b9200000,0x00000000b996d5c0,0x00000000ba700000) +Event: 0.729 GC heap after +Heap after GC invocations=4 (full 0): + PSYoungGen total 66048K, used 2543K [0x00000000ebd00000, 0x00000000f0000000, 0x0000000100000000) + eden space 63488K, 0% used [0x00000000ebd00000,0x00000000ebd00000,0x00000000efb00000) + from space 2560K, 99% used [0x00000000efd80000,0x00000000efffbec8,0x00000000f0000000) + to space 2560K, 0% used [0x00000000efb00000,0x00000000efb00000,0x00000000efd80000) + ParOldGen total 40960K, used 2642K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 6% used [0x00000000c3800000,0x00000000c3a94880,0x00000000c6000000) + PSPermGen total 21504K, used 7605K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 35% used [0x00000000b9200000,0x00000000b996d5c0,0x00000000ba700000) +} +Event: 173.847 GC heap before +{Heap before GC invocations=5 (full 0): + PSYoungGen total 66048K, used 66031K [0x00000000ebd00000, 0x00000000f0000000, 0x0000000100000000) + eden space 63488K, 100% used [0x00000000ebd00000,0x00000000efb00000,0x00000000efb00000) + from space 2560K, 99% used [0x00000000efd80000,0x00000000efffbec8,0x00000000f0000000) + to space 2560K, 0% used [0x00000000efb00000,0x00000000efb00000,0x00000000efd80000) + ParOldGen total 40960K, used 2642K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 6% used [0x00000000c3800000,0x00000000c3a94880,0x00000000c6000000) + PSPermGen total 21504K, used 9145K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 42% used [0x00000000b9200000,0x00000000b9aee770,0x00000000ba700000) +Event: 173.881 GC heap after +Heap after GC invocations=5 (full 0): + PSYoungGen total 66048K, used 2529K [0x00000000ebd00000, 0x00000000f5900000, 0x0000000100000000) + eden space 63488K, 0% used [0x00000000ebd00000,0x00000000ebd00000,0x00000000efb00000) + from space 2560K, 98% used [0x00000000efb00000,0x00000000efd784f8,0x00000000efd80000) + to space 16384K, 0% used [0x00000000f4900000,0x00000000f4900000,0x00000000f5900000) + ParOldGen total 40960K, used 19769K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 48% used [0x00000000c3800000,0x00000000c4b4e570,0x00000000c6000000) + PSPermGen total 21504K, used 9145K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 42% used [0x00000000b9200000,0x00000000b9aee770,0x00000000ba700000) +} +Event: 401.860 GC heap before +{Heap before GC invocations=6 (full 0): + PSYoungGen total 66048K, used 66017K [0x00000000ebd00000, 0x00000000f5900000, 0x0000000100000000) + eden space 63488K, 100% used [0x00000000ebd00000,0x00000000efb00000,0x00000000efb00000) + from space 2560K, 98% used [0x00000000efb00000,0x00000000efd784f8,0x00000000efd80000) + to space 16384K, 0% used [0x00000000f4900000,0x00000000f4900000,0x00000000f5900000) + ParOldGen total 40960K, used 19769K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 48% used [0x00000000c3800000,0x00000000c4b4e570,0x00000000c6000000) + PSPermGen total 21504K, used 9157K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 42% used [0x00000000b9200000,0x00000000b9af1410,0x00000000ba700000) +Event: 401.897 GC heap after +Heap after GC invocations=6 (full 0): + PSYoungGen total 135168K, used 16370K [0x00000000ebd00000, 0x00000000f6900000, 0x0000000100000000) + eden space 118784K, 0% used [0x00000000ebd00000,0x00000000ebd00000,0x00000000f3100000) + from space 16384K, 99% used [0x00000000f4900000,0x00000000f58fc8c0,0x00000000f5900000) + to space 24576K, 0% used [0x00000000f3100000,0x00000000f3100000,0x00000000f4900000) + ParOldGen total 40960K, used 26747K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 65% used [0x00000000c3800000,0x00000000c521ef80,0x00000000c6000000) + PSPermGen total 21504K, used 9157K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 42% used [0x00000000b9200000,0x00000000b9af1410,0x00000000ba700000) +} +Event: 1071.956 GC heap before +{Heap before GC invocations=7 (full 0): + PSYoungGen total 135168K, used 135154K [0x00000000ebd00000, 0x00000000f6900000, 0x0000000100000000) + eden space 118784K, 100% used [0x00000000ebd00000,0x00000000f3100000,0x00000000f3100000) + from space 16384K, 99% used [0x00000000f4900000,0x00000000f58fc8c0,0x00000000f5900000) + to space 24576K, 0% used [0x00000000f3100000,0x00000000f3100000,0x00000000f4900000) + ParOldGen total 40960K, used 26747K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 65% used [0x00000000c3800000,0x00000000c521ef80,0x00000000c6000000) + PSPermGen total 21504K, used 9159K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 42% used [0x00000000b9200000,0x00000000b9af1f38,0x00000000ba700000) + +Deoptimization events (10 events): +Event: 0.266 Thread 0x00007fbd1800a000 Uncommon trap: reason=unloaded action=reinterpret pc=0x00007fbd150600f4 method=java.io.BufferedReader.readLine(Z)Ljava/lang/String; @ 268 +Event: 0.378 Thread 0x00007fbd1800a000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007fbd15067698 method=java.lang.String.valueOf(Ljava/lang/Object;)Ljava/lang/String; @ 10 +Event: 0.379 Thread 0x00007fbd1800a000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007fbd15067698 method=java.lang.String.valueOf(Ljava/lang/Object;)Ljava/lang/String; @ 10 +Event: 0.400 Thread 0x00007fbd1800a000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007fbd15067698 method=java.lang.String.valueOf(Ljava/lang/Object;)Ljava/lang/String; @ 10 +Event: 0.401 Thread 0x00007fbd1800a000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007fbd15067698 method=java.lang.String.valueOf(Ljava/lang/Object;)Ljava/lang/String; @ 10 +Event: 0.410 Thread 0x00007fbd1800a000 Uncommon trap: reason=unreached action=reinterpret pc=0x00007fbd15068840 method=java.lang.AbstractStringBuilder.append(Ljava/lang/String;)Ljava/lang/AbstractStringBuilder; @ 1 +Event: 0.477 Thread 0x00007fbd1800a000 Uncommon trap: reason=null_check action=make_not_entrant pc=0x00007fbd1506b920 method=java.lang.String.equals(Ljava/lang/Object;)Z @ 8 +Event: 0.573 Thread 0x00007fbd1800a000 Uncommon trap: reason=unreached action=reinterpret pc=0x00007fbd15081280 method=java.lang.String.equalsIgnoreCase(Ljava/lang/String;)Z @ 10 +Event: 0.608 Thread 0x00007fbd1800a000 Uncommon trap: reason=unreached action=reinterpret pc=0x00007fbd1506633c method=java.lang.AbstractStringBuilder.append(Ljava/lang/String;)Ljava/lang/AbstractStringBuilder; @ 1 +Event: 1.065 Thread 0x00007fbd1800a000 Uncommon trap: reason=unreached action=reinterpret pc=0x00007fbd15099774 method=java.math.BigInteger.squareToLen([II[I)[I @ 5 + +Internal exceptions (10 events): +Event: 8.407 Thread 0x00007fbd1800a000 Threw 0x00000000ec1d7a38 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 49.720 Thread 0x00007fbd1800a000 Threw 0x00000000ec1e0718 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 49.723 Thread 0x00007fbd1800a000 Threw 0x00000000ec29bd78 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 49.724 Thread 0x00007fbd1800a000 Threw 0x00000000ec29f820 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 49.741 Thread 0x00007fbd1800a000 Threw 0x00000000ec2c3498 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 49.744 Thread 0x00007fbd1800a000 Threw 0x00000000ec2cdd18 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 49.746 Thread 0x00007fbd1800a000 Threw 0x00000000ec2d1d90 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 49.748 Thread 0x00007fbd1800a000 Threw 0x00000000ec2d9250 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 49.749 Thread 0x00007fbd1800a000 Threw 0x00000000ec2dd2b8 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 50.141 Thread 0x00007fbd1800a000 Threw 0x00000000ed348650 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 + +Events (10 events): +Event: 401.898 Executing VM operation: RevokeBias done +Event: 401.898 Executing VM operation: RevokeBias +Event: 401.898 Executing VM operation: RevokeBias done +Event: 401.898 Executing VM operation: RevokeBias +Event: 401.898 Executing VM operation: RevokeBias done +Event: 401.898 Executing VM operation: RevokeBias +Event: 401.898 Executing VM operation: RevokeBias done +Event: 404.242 Executing VM operation: BulkRevokeBias +Event: 404.242 Executing VM operation: BulkRevokeBias done +Event: 1071.956 Executing VM operation: ParallelGCFailedAllocation + + +Dynamic libraries: +00400000-00401000 r-xp 00000000 08:05 412325 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java +00600000-00601000 r--p 00000000 08:05 412325 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java +00601000-00602000 rw-p 00001000 08:05 412325 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java +01703000-01724000 rw-p 00000000 00:00 0 [heap] +b9200000-ba700000 rw-p 00000000 00:00 0 +ba700000-c3800000 rw-p 00000000 00:00 0 +c3800000-c6300000 rw-p 00000000 00:00 0 +c6300000-ebd00000 rw-p 00000000 00:00 0 +ebd00000-f6900000 rw-p 00000000 00:00 0 +ff100000-100000000 rw-p 00000000 00:00 0 +7fbcd8000000-7fbcd8021000 rw-p 00000000 00:00 0 +7fbcd8021000-7fbcdc000000 ---p 00000000 00:00 0 +7fbcdc000000-7fbcdc021000 rw-p 00000000 00:00 0 +7fbcdc021000-7fbce0000000 ---p 00000000 00:00 0 +7fbce0000000-7fbce0425000 rw-p 00000000 00:00 0 +7fbce0425000-7fbce4000000 ---p 00000000 00:00 0 +7fbce4000000-7fbce4021000 rw-p 00000000 00:00 0 +7fbce4021000-7fbce8000000 ---p 00000000 00:00 0 +7fbce8000000-7fbce8021000 rw-p 00000000 00:00 0 +7fbce8021000-7fbcec000000 ---p 00000000 00:00 0 +7fbcec000000-7fbcec7ba000 rw-p 00000000 00:00 0 +7fbcec7ba000-7fbcf0000000 ---p 00000000 00:00 0 +7fbcf0000000-7fbcf0021000 rw-p 00000000 00:00 0 +7fbcf0021000-7fbcf4000000 ---p 00000000 00:00 0 +7fbcf4000000-7fbcf4021000 rw-p 00000000 00:00 0 +7fbcf4021000-7fbcf8000000 ---p 00000000 00:00 0 +7fbcf8000000-7fbcf8021000 rw-p 00000000 00:00 0 +7fbcf8021000-7fbcfc000000 ---p 00000000 00:00 0 +7fbcfc000000-7fbcfc021000 rw-p 00000000 00:00 0 +7fbcfc021000-7fbd00000000 ---p 00000000 00:00 0 +7fbd00000000-7fbd00021000 rw-p 00000000 00:00 0 +7fbd00021000-7fbd04000000 ---p 00000000 00:00 0 +7fbd07535000-7fbd0776f000 rw-p 00000000 00:00 0 +7fbd0776f000-7fbd07777000 r-xp 00000000 08:05 407448 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libmanagement.so +7fbd07777000-7fbd07976000 ---p 00008000 08:05 407448 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libmanagement.so +7fbd07976000-7fbd07977000 r--p 00007000 08:05 407448 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libmanagement.so +7fbd07977000-7fbd07978000 rw-p 00008000 08:05 407448 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libmanagement.so +7fbd07978000-7fbd0797d000 r-xp 00000000 08:05 131312 /lib/x86_64-linux-gnu/libnss_dns-2.19.so +7fbd0797d000-7fbd07b7c000 ---p 00005000 08:05 131312 /lib/x86_64-linux-gnu/libnss_dns-2.19.so +7fbd07b7c000-7fbd07b7d000 r--p 00004000 08:05 131312 /lib/x86_64-linux-gnu/libnss_dns-2.19.so +7fbd07b7d000-7fbd07b7e000 rw-p 00005000 08:05 131312 /lib/x86_64-linux-gnu/libnss_dns-2.19.so +7fbd07b7e000-7fbd07b80000 r-xp 00000000 08:05 135238 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 +7fbd07b80000-7fbd07d7f000 ---p 00002000 08:05 135238 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 +7fbd07d7f000-7fbd07d80000 r--p 00001000 08:05 135238 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 +7fbd07d80000-7fbd07d81000 rw-p 00002000 08:05 135238 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 +7fbd07d81000-7fbd07df9000 r-xp 00000000 08:05 3295924 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so +7fbd07df9000-7fbd07ff9000 ---p 00078000 08:05 3295924 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so +7fbd07ff9000-7fbd07ffb000 r--p 00078000 08:05 3295924 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so +7fbd07ffb000-7fbd07ffc000 rw-p 0007a000 08:05 3295924 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so +7fbd07ffc000-7fbd08000000 rw-p 00000000 00:00 0 +7fbd08000000-7fbd08021000 rw-p 00000000 00:00 0 +7fbd08021000-7fbd0c000000 ---p 00000000 00:00 0 +7fbd0c054000-7fbd0c057000 ---p 00000000 00:00 0 +7fbd0c057000-7fbd0c155000 rw-p 00000000 00:00 0 +7fbd0c155000-7fbd0c209000 r-xp 00000000 08:05 3024716 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 +7fbd0c209000-7fbd0c409000 ---p 000b4000 08:05 3024716 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 +7fbd0c409000-7fbd0c40b000 r--p 000b4000 08:05 3024716 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 +7fbd0c40b000-7fbd0c40d000 rw-p 000b6000 08:05 3024716 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 +7fbd0c40d000-7fbd0c40e000 rw-p 00000000 00:00 0 +7fbd0c40e000-7fbd0c44e000 r-xp 00000000 08:05 3295928 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so +7fbd0c44e000-7fbd0c64e000 ---p 00040000 08:05 3295928 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so +7fbd0c64e000-7fbd0c64f000 r--p 00040000 08:05 3295928 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so +7fbd0c64f000-7fbd0c650000 rw-p 00041000 08:05 3295928 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so +7fbd0c650000-7fbd0c688000 r-xp 00000000 08:05 3016688 /usr/lib/x86_64-linux-gnu/libnspr4.so +7fbd0c688000-7fbd0c888000 ---p 00038000 08:05 3016688 /usr/lib/x86_64-linux-gnu/libnspr4.so +7fbd0c888000-7fbd0c889000 r--p 00038000 08:05 3016688 /usr/lib/x86_64-linux-gnu/libnspr4.so +7fbd0c889000-7fbd0c88a000 rw-p 00039000 08:05 3016688 /usr/lib/x86_64-linux-gnu/libnspr4.so +7fbd0c88a000-7fbd0c88d000 rw-p 00000000 00:00 0 +7fbd0c88d000-7fbd0c890000 r-xp 00000000 08:05 3015889 /usr/lib/x86_64-linux-gnu/libplds4.so +7fbd0c890000-7fbd0ca8f000 ---p 00003000 08:05 3015889 /usr/lib/x86_64-linux-gnu/libplds4.so +7fbd0ca8f000-7fbd0ca90000 r--p 00002000 08:05 3015889 /usr/lib/x86_64-linux-gnu/libplds4.so +7fbd0ca90000-7fbd0ca91000 rw-p 00003000 08:05 3015889 /usr/lib/x86_64-linux-gnu/libplds4.so +7fbd0ca91000-7fbd0ca95000 r-xp 00000000 08:05 3016106 /usr/lib/x86_64-linux-gnu/libplc4.so +7fbd0ca95000-7fbd0cc94000 ---p 00004000 08:05 3016106 /usr/lib/x86_64-linux-gnu/libplc4.so +7fbd0cc94000-7fbd0cc95000 r--p 00003000 08:05 3016106 /usr/lib/x86_64-linux-gnu/libplc4.so +7fbd0cc95000-7fbd0cc96000 rw-p 00004000 08:05 3016106 /usr/lib/x86_64-linux-gnu/libplc4.so +7fbd0cc96000-7fbd0ccbb000 r-xp 00000000 08:05 3016689 /usr/lib/x86_64-linux-gnu/libnssutil3.so +7fbd0ccbb000-7fbd0ceba000 ---p 00025000 08:05 3016689 /usr/lib/x86_64-linux-gnu/libnssutil3.so +7fbd0ceba000-7fbd0cec0000 r--p 00024000 08:05 3016689 /usr/lib/x86_64-linux-gnu/libnssutil3.so +7fbd0cec0000-7fbd0cec1000 rw-p 0002a000 08:05 3016689 /usr/lib/x86_64-linux-gnu/libnssutil3.so +7fbd0cec1000-7fbd0cff4000 r-xp 00000000 08:05 3016692 /usr/lib/x86_64-linux-gnu/libnss3.so +7fbd0cff4000-7fbd0d1f3000 ---p 00133000 08:05 3016692 /usr/lib/x86_64-linux-gnu/libnss3.so +7fbd0d1f3000-7fbd0d1f8000 r--p 00132000 08:05 3016692 /usr/lib/x86_64-linux-gnu/libnss3.so +7fbd0d1f8000-7fbd0d1fa000 rw-p 00137000 08:05 3016692 /usr/lib/x86_64-linux-gnu/libnss3.so +7fbd0d1fa000-7fbd0d1fb000 rw-p 00000000 00:00 0 +7fbd0d1fb000-7fbd0d20b000 r-xp 00000000 08:05 407443 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so +7fbd0d20b000-7fbd0d40a000 ---p 00010000 08:05 407443 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so +7fbd0d40a000-7fbd0d40b000 r--p 0000f000 08:05 407443 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so +7fbd0d40b000-7fbd0d40c000 rw-p 00010000 08:05 407443 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so +7fbd0d40c000-7fbd0d449000 r-xp 00000000 08:05 135260 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 +7fbd0d449000-7fbd0d648000 ---p 0003d000 08:05 135260 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 +7fbd0d648000-7fbd0d649000 r--p 0003c000 08:05 135260 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 +7fbd0d649000-7fbd0d64a000 rw-p 0003d000 08:05 135260 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 +7fbd0d64a000-7fbd0d651000 r-xp 00000000 08:05 3024098 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 +7fbd0d651000-7fbd0d850000 ---p 00007000 08:05 3024098 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 +7fbd0d850000-7fbd0d851000 r--p 00006000 08:05 3024098 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 +7fbd0d851000-7fbd0d852000 rw-p 00007000 08:05 3024098 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 +7fbd0d852000-7fbd0d869000 r-xp 00000000 08:05 131262 /lib/x86_64-linux-gnu/libresolv-2.19.so +7fbd0d869000-7fbd0da69000 ---p 00017000 08:05 131262 /lib/x86_64-linux-gnu/libresolv-2.19.so +7fbd0da69000-7fbd0da6a000 r--p 00017000 08:05 131262 /lib/x86_64-linux-gnu/libresolv-2.19.so +7fbd0da6a000-7fbd0da6b000 rw-p 00018000 08:05 131262 /lib/x86_64-linux-gnu/libresolv-2.19.so +7fbd0da6b000-7fbd0da6d000 rw-p 00000000 00:00 0 +7fbd0da6d000-7fbd0da8d000 r-xp 00000000 08:05 135287 /lib/x86_64-linux-gnu/libselinux.so.1 +7fbd0da8d000-7fbd0dc8c000 ---p 00020000 08:05 135287 /lib/x86_64-linux-gnu/libselinux.so.1 +7fbd0dc8c000-7fbd0dc8d000 r--p 0001f000 08:05 135287 /lib/x86_64-linux-gnu/libselinux.so.1 +7fbd0dc8d000-7fbd0dc8e000 rw-p 00020000 08:05 135287 /lib/x86_64-linux-gnu/libselinux.so.1 +7fbd0dc8e000-7fbd10000000 rw-p 00000000 00:00 0 +7fbd10000000-7fbd10021000 rw-p 00000000 00:00 0 +7fbd10021000-7fbd14000000 ---p 00000000 00:00 0 +7fbd14005000-7fbd14008000 r-xp 00000000 08:05 3015020 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0 +7fbd14008000-7fbd14207000 ---p 00003000 08:05 3015020 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0 +7fbd14207000-7fbd14208000 r--p 00002000 08:05 3015020 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0 +7fbd14208000-7fbd14209000 rw-p 00003000 08:05 3015020 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0 +7fbd14209000-7fbd1430f000 r-xp 00000000 08:05 136560 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0 +7fbd1430f000-7fbd1450e000 ---p 00106000 08:05 136560 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0 +7fbd1450e000-7fbd1450f000 r--p 00105000 08:05 136560 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0 +7fbd1450f000-7fbd14510000 rw-p 00106000 08:05 136560 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0 +7fbd14510000-7fbd14511000 rw-p 00000000 00:00 0 +7fbd14511000-7fbd14560000 r-xp 00000000 08:05 3015038 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0 +7fbd14560000-7fbd14760000 ---p 0004f000 08:05 3015038 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0 +7fbd14760000-7fbd14761000 r--p 0004f000 08:05 3015038 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0 +7fbd14761000-7fbd14762000 rw-p 00050000 08:05 3015038 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0 +7fbd14762000-7fbd148ce000 r-xp 00000000 08:05 3015042 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0 +7fbd148ce000-7fbd14acd000 ---p 0016c000 08:05 3015042 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0 +7fbd14acd000-7fbd14ad1000 r--p 0016b000 08:05 3015042 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0 +7fbd14ad1000-7fbd14ad3000 rw-p 0016f000 08:05 3015042 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0 +7fbd14ad3000-7fbd14ad5000 rw-p 00000000 00:00 0 +7fbd14ad5000-7fbd14aec000 r-xp 00000000 08:05 407432 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so +7fbd14aec000-7fbd14ceb000 ---p 00017000 08:05 407432 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so +7fbd14ceb000-7fbd14cec000 r--p 00016000 08:05 407432 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so +7fbd14cec000-7fbd14ced000 rw-p 00017000 08:05 407432 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so +7fbd14ced000-7fbd14cfd000 r-xp 00000000 08:05 407447 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so +7fbd14cfd000-7fbd14efd000 ---p 00010000 08:05 407447 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so +7fbd14efd000-7fbd14efe000 r--p 00010000 08:05 407447 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so +7fbd14efe000-7fbd14eff000 rw-p 00011000 08:05 407447 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so +7fbd14eff000-7fbd14f00000 ---p 00000000 00:00 0 +7fbd14f00000-7fbd15000000 rw-p 00000000 00:00 0 [stack:11754] +7fbd15000000-7fbd15270000 rwxp 00000000 00:00 0 +7fbd15270000-7fbd18349000 rw-p 00000000 00:00 0 +7fbd18349000-7fbd1c000000 ---p 00000000 00:00 0 +7fbd1c084000-7fbd1c087000 r--s 00017000 08:05 409644 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar +7fbd1c087000-7fbd1c08c000 r--s 0004c000 08:05 409642 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar +7fbd1c08c000-7fbd1c095000 r--s 000b9000 08:05 404634 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar +7fbd1c095000-7fbd1c0a2000 r--s 000df000 08:05 2939829 /home/mahmoud/git/TeraData_ML_Proj/DBProject/lib/terajdbc4.jar +7fbd1c0a2000-7fbd1c0a5000 ---p 00000000 00:00 0 +7fbd1c0a5000-7fbd1c1a3000 rw-p 00000000 00:00 0 [stack:11753] +7fbd1c1a3000-7fbd1c1a6000 ---p 00000000 00:00 0 +7fbd1c1a6000-7fbd1c2a4000 rw-p 00000000 00:00 0 [stack:11752] +7fbd1c2a4000-7fbd1c2a7000 ---p 00000000 00:00 0 +7fbd1c2a7000-7fbd1c3a5000 rw-p 00000000 00:00 0 [stack:11751] +7fbd1c3a5000-7fbd1c3a8000 ---p 00000000 00:00 0 +7fbd1c3a8000-7fbd1c4a6000 rw-p 00000000 00:00 0 [stack:11750] +7fbd1c4a6000-7fbd1cb88000 r--p 00000000 08:05 3022654 /usr/lib/locale/locale-archive +7fbd1cb88000-7fbd1cb8b000 ---p 00000000 00:00 0 +7fbd1cb8b000-7fbd1cc89000 rw-p 00000000 00:00 0 [stack:11748] +7fbd1cc89000-7fbd1cc8c000 ---p 00000000 00:00 0 +7fbd1cc8c000-7fbd1cd8a000 rw-p 00000000 00:00 0 [stack:11747] +7fbd1cd8a000-7fbd1cd8b000 ---p 00000000 00:00 0 +7fbd1cd8b000-7fbd1de88000 rw-p 00000000 00:00 0 [stack:11746] +7fbd1de88000-7fbd1e039000 r--s 01d25000 08:05 410830 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar +7fbd1e039000-7fbd1e369000 rw-p 00000000 00:00 0 +7fbd1e369000-7fbd1e36a000 ---p 00000000 00:00 0 +7fbd1e36a000-7fbd1e46a000 rw-p 00000000 00:00 0 [stack:11745] +7fbd1e46a000-7fbd1e46b000 ---p 00000000 00:00 0 +7fbd1e46b000-7fbd1e56b000 rw-p 00000000 00:00 0 [stack:11744] +7fbd1e56b000-7fbd1e56c000 ---p 00000000 00:00 0 +7fbd1e56c000-7fbd1e66c000 rw-p 00000000 00:00 0 [stack:11743] +7fbd1e66c000-7fbd1e66d000 ---p 00000000 00:00 0 +7fbd1e66d000-7fbd1e778000 rw-p 00000000 00:00 0 [stack:11742] +7fbd1e778000-7fbd1e7c0000 rw-p 00000000 00:00 0 +7fbd1e7c0000-7fbd1e7d6000 rw-p 00000000 00:00 0 +7fbd1e7d6000-7fbd1e903000 rw-p 00000000 00:00 0 +7fbd1e903000-7fbd1e90e000 rw-p 00000000 00:00 0 +7fbd1e90e000-7fbd1e956000 rw-p 00000000 00:00 0 +7fbd1e956000-7fbd1e96c000 rw-p 00000000 00:00 0 +7fbd1e96c000-7fbd1ea98000 rw-p 00000000 00:00 0 +7fbd1ea98000-7fbd1eaef000 rw-p 00000000 00:00 0 +7fbd1eaef000-7fbd1eb3a000 rw-p 00000000 00:00 0 +7fbd1eb3a000-7fbd1eb3b000 rw-p 00000000 00:00 0 +7fbd1eb3b000-7fbd1eb43000 r-xp 00000000 08:05 404640 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so +7fbd1eb43000-7fbd1ed42000 ---p 00008000 08:05 404640 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so +7fbd1ed42000-7fbd1ed43000 r--p 00007000 08:05 404640 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so +7fbd1ed43000-7fbd1ed44000 rw-p 00008000 08:05 404640 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so +7fbd1ed44000-7fbd1ed4f000 r-xp 00000000 08:05 131317 /lib/x86_64-linux-gnu/libnss_files-2.19.so +7fbd1ed4f000-7fbd1ef4e000 ---p 0000b000 08:05 131317 /lib/x86_64-linux-gnu/libnss_files-2.19.so +7fbd1ef4e000-7fbd1ef4f000 r--p 0000a000 08:05 131317 /lib/x86_64-linux-gnu/libnss_files-2.19.so +7fbd1ef4f000-7fbd1ef50000 rw-p 0000b000 08:05 131317 /lib/x86_64-linux-gnu/libnss_files-2.19.so +7fbd1ef50000-7fbd1ef5b000 r-xp 00000000 08:05 131324 /lib/x86_64-linux-gnu/libnss_nis-2.19.so +7fbd1ef5b000-7fbd1f15a000 ---p 0000b000 08:05 131324 /lib/x86_64-linux-gnu/libnss_nis-2.19.so +7fbd1f15a000-7fbd1f15b000 r--p 0000a000 08:05 131324 /lib/x86_64-linux-gnu/libnss_nis-2.19.so +7fbd1f15b000-7fbd1f15c000 rw-p 0000b000 08:05 131324 /lib/x86_64-linux-gnu/libnss_nis-2.19.so +7fbd1f15c000-7fbd1f173000 r-xp 00000000 08:05 131310 /lib/x86_64-linux-gnu/libnsl-2.19.so +7fbd1f173000-7fbd1f372000 ---p 00017000 08:05 131310 /lib/x86_64-linux-gnu/libnsl-2.19.so +7fbd1f372000-7fbd1f373000 r--p 00016000 08:05 131310 /lib/x86_64-linux-gnu/libnsl-2.19.so +7fbd1f373000-7fbd1f374000 rw-p 00017000 08:05 131310 /lib/x86_64-linux-gnu/libnsl-2.19.so +7fbd1f374000-7fbd1f376000 rw-p 00000000 00:00 0 +7fbd1f376000-7fbd1f37f000 r-xp 00000000 08:05 131321 /lib/x86_64-linux-gnu/libnss_compat-2.19.so +7fbd1f37f000-7fbd1f57e000 ---p 00009000 08:05 131321 /lib/x86_64-linux-gnu/libnss_compat-2.19.so +7fbd1f57e000-7fbd1f57f000 r--p 00008000 08:05 131321 /lib/x86_64-linux-gnu/libnss_compat-2.19.so +7fbd1f57f000-7fbd1f580000 rw-p 00009000 08:05 131321 /lib/x86_64-linux-gnu/libnss_compat-2.19.so +7fbd1f580000-7fbd1f5ab000 r-xp 00000000 08:05 407431 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so +7fbd1f5ab000-7fbd1f7aa000 ---p 0002b000 08:05 407431 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so +7fbd1f7aa000-7fbd1f7ab000 r--p 0002a000 08:05 407431 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so +7fbd1f7ab000-7fbd1f7ad000 rw-p 0002b000 08:05 407431 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so +7fbd1f7ad000-7fbd1f7bd000 r-xp 00000000 08:05 407446 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so +7fbd1f7bd000-7fbd1f9bc000 ---p 00010000 08:05 407446 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so +7fbd1f9bc000-7fbd1f9be000 r--p 0000f000 08:05 407446 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so +7fbd1f9be000-7fbd1f9bf000 rw-p 00011000 08:05 407446 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so +7fbd1f9bf000-7fbd1f9c6000 r-xp 00000000 08:05 131327 /lib/x86_64-linux-gnu/librt-2.19.so +7fbd1f9c6000-7fbd1fbc5000 ---p 00007000 08:05 131327 /lib/x86_64-linux-gnu/librt-2.19.so +7fbd1fbc5000-7fbd1fbc6000 r--p 00006000 08:05 131327 /lib/x86_64-linux-gnu/librt-2.19.so +7fbd1fbc6000-7fbd1fbc7000 rw-p 00007000 08:05 131327 /lib/x86_64-linux-gnu/librt-2.19.so +7fbd1fbc7000-7fbd1fbdd000 r-xp 00000000 08:05 135134 /lib/x86_64-linux-gnu/libgcc_s.so.1 +7fbd1fbdd000-7fbd1fddc000 ---p 00016000 08:05 135134 /lib/x86_64-linux-gnu/libgcc_s.so.1 +7fbd1fddc000-7fbd1fddd000 rw-p 00015000 08:05 135134 /lib/x86_64-linux-gnu/libgcc_s.so.1 +7fbd1fddd000-7fbd1fee2000 r-xp 00000000 08:05 131309 /lib/x86_64-linux-gnu/libm-2.19.so +7fbd1fee2000-7fbd200e1000 ---p 00105000 08:05 131309 /lib/x86_64-linux-gnu/libm-2.19.so +7fbd200e1000-7fbd200e2000 r--p 00104000 08:05 131309 /lib/x86_64-linux-gnu/libm-2.19.so +7fbd200e2000-7fbd200e3000 rw-p 00105000 08:05 131309 /lib/x86_64-linux-gnu/libm-2.19.so +7fbd200e3000-7fbd201c9000 r-xp 00000000 08:05 3024726 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 +7fbd201c9000-7fbd203c8000 ---p 000e6000 08:05 3024726 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 +7fbd203c8000-7fbd203d0000 r--p 000e5000 08:05 3024726 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 +7fbd203d0000-7fbd203d2000 rw-p 000ed000 08:05 3024726 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 +7fbd203d2000-7fbd203e7000 rw-p 00000000 00:00 0 +7fbd203e7000-7fbd20efd000 r-xp 00000000 08:05 407452 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so +7fbd20efd000-7fbd210fc000 ---p 00b16000 08:05 407452 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so +7fbd210fc000-7fbd21196000 r--p 00b15000 08:05 407452 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so +7fbd21196000-7fbd211b9000 rw-p 00baf000 08:05 407452 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so +7fbd211b9000-7fbd211e7000 rw-p 00000000 00:00 0 +7fbd211e7000-7fbd211ff000 r-xp 00000000 08:05 135320 /lib/x86_64-linux-gnu/libz.so.1.2.8 +7fbd211ff000-7fbd213fe000 ---p 00018000 08:05 135320 /lib/x86_64-linux-gnu/libz.so.1.2.8 +7fbd213fe000-7fbd213ff000 r--p 00017000 08:05 135320 /lib/x86_64-linux-gnu/libz.so.1.2.8 +7fbd213ff000-7fbd21400000 rw-p 00018000 08:05 135320 /lib/x86_64-linux-gnu/libz.so.1.2.8 +7fbd21400000-7fbd21419000 r-xp 00000000 08:05 131314 /lib/x86_64-linux-gnu/libpthread-2.19.so +7fbd21419000-7fbd21618000 ---p 00019000 08:05 131314 /lib/x86_64-linux-gnu/libpthread-2.19.so +7fbd21618000-7fbd21619000 r--p 00018000 08:05 131314 /lib/x86_64-linux-gnu/libpthread-2.19.so +7fbd21619000-7fbd2161a000 rw-p 00019000 08:05 131314 /lib/x86_64-linux-gnu/libpthread-2.19.so +7fbd2161a000-7fbd2161e000 rw-p 00000000 00:00 0 +7fbd2161e000-7fbd21621000 r-xp 00000000 08:05 131319 /lib/x86_64-linux-gnu/libdl-2.19.so +7fbd21621000-7fbd21820000 ---p 00003000 08:05 131319 /lib/x86_64-linux-gnu/libdl-2.19.so +7fbd21820000-7fbd21821000 r--p 00002000 08:05 131319 /lib/x86_64-linux-gnu/libdl-2.19.so +7fbd21821000-7fbd21822000 rw-p 00003000 08:05 131319 /lib/x86_64-linux-gnu/libdl-2.19.so +7fbd21822000-7fbd219dd000 r-xp 00000000 08:05 131325 /lib/x86_64-linux-gnu/libc-2.19.so +7fbd219dd000-7fbd21bdd000 ---p 001bb000 08:05 131325 /lib/x86_64-linux-gnu/libc-2.19.so +7fbd21bdd000-7fbd21be1000 r--p 001bb000 08:05 131325 /lib/x86_64-linux-gnu/libc-2.19.so +7fbd21be1000-7fbd21be3000 rw-p 001bf000 08:05 131325 /lib/x86_64-linux-gnu/libc-2.19.so +7fbd21be3000-7fbd21be8000 rw-p 00000000 00:00 0 +7fbd21be8000-7fbd21bf5000 r-xp 00000000 08:05 407429 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so +7fbd21bf5000-7fbd21df4000 ---p 0000d000 08:05 407429 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so +7fbd21df4000-7fbd21df5000 r--p 0000c000 08:05 407429 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so +7fbd21df5000-7fbd21df6000 rw-p 0000d000 08:05 407429 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so +7fbd21df6000-7fbd21e19000 r-xp 00000000 08:05 131322 /lib/x86_64-linux-gnu/ld-2.19.so +7fbd21e19000-7fbd21e1a000 rw-p 00000000 00:00 0 +7fbd21e1a000-7fbd21e1b000 r--s 00000000 08:05 2939801 /home/mahmoud/git/TeraData_ML_Proj/DBProject/lib/tdgssconfig.jar +7fbd21e1b000-7fbd21e1c000 r--s 00002000 08:05 410829 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/dnsns.jar +7fbd21e1c000-7fbd21e1f000 r--s 0000f000 08:05 409656 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/icedtea-sound.jar +7fbd21e1f000-7fbd21e40000 rw-p 00000000 00:00 0 +7fbd21e40000-7fbd21ef6000 rw-p 00000000 00:00 0 +7fbd21ef6000-7fbd21ef9000 ---p 00000000 00:00 0 +7fbd21ef9000-7fbd21ffc000 rw-p 00000000 00:00 0 [stack:11740] +7fbd21ffc000-7fbd21ffe000 r--s 00006000 08:05 3428021 /usr/share/java/java-atk-wrapper.jar +7fbd21ffe000-7fbd22002000 r--s 00034000 08:05 410828 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunjce_provider.jar +7fbd22002000-7fbd22006000 r--s 0003c000 08:05 409658 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunpkcs11.jar +7fbd22006000-7fbd22008000 r--s 00012000 08:05 409657 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/zipfs.jar +7fbd22008000-7fbd2200c000 r--s 00085000 08:05 410827 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/localedata.jar +7fbd2200c000-7fbd22014000 rw-s 00000000 08:05 1572991 /tmp/hsperfdata_mahmoud/11735 +7fbd22014000-7fbd22015000 rw-p 00000000 00:00 0 +7fbd22015000-7fbd22016000 ---p 00000000 00:00 0 +7fbd22016000-7fbd22018000 rw-p 00000000 00:00 0 +7fbd22018000-7fbd22019000 r--p 00022000 08:05 131322 /lib/x86_64-linux-gnu/ld-2.19.so +7fbd22019000-7fbd2201a000 rw-p 00023000 08:05 131322 /lib/x86_64-linux-gnu/ld-2.19.so +7fbd2201a000-7fbd2201b000 rw-p 00000000 00:00 0 +7fff31441000-7fff31462000 rw-p 00000000 00:00 0 [stack] +7fff315fe000-7fff31600000 r-xp 00000000 00:00 0 [vdso] +ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] + +VM Arguments: +jvm_args: -Dfile.encoding=UTF-8 +java_command: edu.umich.td.controller.StagingPhase +Launcher Type: SUN_STANDARD + +Environment Variables: +PATH=/home/mahmoud/build/Release+Asserts/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games +SHELL=/bin/bash +DISPLAY=:0.0 + +Signal Handlers: +SIGSEGV: [libjvm.so+0x9495e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGBUS: [libjvm.so+0x9495e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGFPE: [libjvm.so+0x7c3410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGPIPE: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000 +SIGXFSZ: [libjvm.so+0x7c3410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGILL: [libjvm.so+0x7c3410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 +SIGUSR2: [libjvm.so+0x7c32b0], sa_mask[0]=0x00000004, sa_flags=0x10000004 +SIGHUP: [libjvm.so+0x7c3490], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGINT: [libjvm.so+0x7c3490], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGTERM: [libjvm.so+0x7c3490], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGQUIT: [libjvm.so+0x7c3490], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGTRAP: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 + + +--------------- S Y S T E M --------------- + +OS:Ubuntu 14.04 (trusty) +uname:Linux 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 +libc:glibc 2.19 NPTL 2.19 +rlimit: STACK 8192k, CORE 0k, NPROC 30761, NOFILE 4096, AS infinity +load average:0.06 0.12 0.16 + +/proc/meminfo: +MemTotal: 3959052 kB +MemFree: 140664 kB +Buffers: 1148 kB +Cached: 873648 kB +SwapCached: 0 kB +Active: 2779384 kB +Inactive: 836224 kB +Active(anon): 2744104 kB +Inactive(anon): 798704 kB +Active(file): 35280 kB +Inactive(file): 37520 kB +Unevictable: 1684 kB +Mlocked: 1684 kB +SwapTotal: 0 kB +SwapFree: 0 kB +Dirty: 120 kB +Writeback: 0 kB +AnonPages: 2742772 kB +Mapped: 278508 kB +Shmem: 801844 kB +Slab: 78504 kB +SReclaimable: 40924 kB +SUnreclaim: 37580 kB +KernelStack: 5296 kB +PageTables: 49500 kB +NFS_Unstable: 0 kB +Bounce: 0 kB +WritebackTmp: 0 kB +CommitLimit: 1979524 kB +Committed_AS: 8492600 kB +VmallocTotal: 34359738367 kB +VmallocUsed: 353192 kB +VmallocChunk: 34359376596 kB +HardwareCorrupted: 0 kB +AnonHugePages: 968704 kB +HugePages_Total: 0 +HugePages_Free: 0 +HugePages_Rsvd: 0 +HugePages_Surp: 0 +Hugepagesize: 2048 kB +DirectMap4k: 76884 kB +DirectMap2M: 2979840 kB +DirectMap1G: 1048576 kB + + +CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 69 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, erms, ht, tsc, tscinvbit + +/proc/cpuinfo: +processor : 0 +vendor_id : GenuineIntel +cpu family : 6 +model : 69 +model name : Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz +stepping : 1 +microcode : 0x1c +cpu MHz : 768.000 +cache size : 3072 KB +physical id : 0 +siblings : 4 +core id : 0 +cpu cores : 2 +apicid : 0 +initial apicid : 0 +fpu : yes +fpu_exception : yes +cpuid level : 13 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid +bogomips : 4788.88 +clflush size : 64 +cache_alignment : 64 +address sizes : 39 bits physical, 48 bits virtual +power management: + +processor : 1 +vendor_id : GenuineIntel +cpu family : 6 +model : 69 +model name : Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz +stepping : 1 +microcode : 0x1c +cpu MHz : 768.000 +cache size : 3072 KB +physical id : 0 +siblings : 4 +core id : 1 +cpu cores : 2 +apicid : 2 +initial apicid : 2 +fpu : yes +fpu_exception : yes +cpuid level : 13 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid +bogomips : 4788.88 +clflush size : 64 +cache_alignment : 64 +address sizes : 39 bits physical, 48 bits virtual +power management: + +processor : 2 +vendor_id : GenuineIntel +cpu family : 6 +model : 69 +model name : Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz +stepping : 1 +microcode : 0x1c +cpu MHz : 768.000 +cache size : 3072 KB +physical id : 0 +siblings : 4 +core id : 0 +cpu cores : 2 +apicid : 1 +initial apicid : 1 +fpu : yes +fpu_exception : yes +cpuid level : 13 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid +bogomips : 4788.88 +clflush size : 64 +cache_alignment : 64 +address sizes : 39 bits physical, 48 bits virtual +power management: + +processor : 3 +vendor_id : GenuineIntel +cpu family : 6 +model : 69 +model name : Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz +stepping : 1 +microcode : 0x1c +cpu MHz : 1700.000 +cache size : 3072 KB +physical id : 0 +siblings : 4 +core id : 1 +cpu cores : 2 +apicid : 3 +initial apicid : 3 +fpu : yes +fpu_exception : yes +cpuid level : 13 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid +bogomips : 4788.88 +clflush size : 64 +cache_alignment : 64 +address sizes : 39 bits physical, 48 bits virtual +power management: + + + +Memory: 4k page, physical 3959052k(140664k free), swap 0k(0k free) + +vm_info: OpenJDK 64-Bit Server VM (24.65-b04) for linux-amd64 JRE (1.7.0_65-b32), built on Oct 22 2014 04:37:44 by "buildd" with gcc 4.8.2 + +time: Sun Dec 7 02:39:00 2014 +elapsed time: 1072 seconds + diff --git a/DBProject/hs_err_pid12077.log b/DBProject/hs_err_pid12077.log new file mode 100644 index 0000000..c7cd022 --- /dev/null +++ b/DBProject/hs_err_pid12077.log @@ -0,0 +1,720 @@ +# +# There is insufficient memory for the Java Runtime Environment to continue. +# Native memory allocation (malloc) failed to allocate 143654912 bytes for committing reserved memory. +# Possible reasons: +# The system is out of physical RAM or swap space +# In 32 bit mode, the process size limit was hit +# Possible solutions: +# Reduce memory load on the system +# Increase physical memory or swap space +# Check if swap backing store is full +# Use 64 bit Java on a 64 bit OS +# Decrease Java heap size (-Xmx/-Xms) +# Decrease number of Java threads +# Decrease Java thread stack sizes (-Xss) +# Set larger code cache with -XX:ReservedCodeCacheSize= +# This output file may be truncated or incomplete. +# +# Out of Memory Error (os_linux.cpp:2798), pid=12077, tid=140606566078208 +# +# JRE version: OpenJDK Runtime Environment (7.0_65-b32) (build 1.7.0_65-b32) +# Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops) +# Derivative: IcedTea 2.5.3 +# Distribution: Ubuntu 14.04 LTS, package 7u71-2.5.3-0ubuntu0.14.04.1 +# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again +# + +--------------- T H R E A D --------------- + +Current thread (0x00007fe190075800): VMThread [stack: 0x00007fe1845c9000,0x00007fe1846ca000] [id=12088] + +Stack: [0x00007fe1845c9000,0x00007fe1846ca000], sp=0x00007fe1846c8490, free space=1021k +Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) +V [libjvm.so+0x948b05] VMError::report_and_die()+0x175 +V [libjvm.so+0x48bc34] report_vm_out_of_memory(char const*, int, unsigned long, char const*)+0x74 +V [libjvm.so+0x7c7bfb] os::pd_commit_memory(char*, unsigned long, unsigned long, bool)+0xeb +V [libjvm.so+0x7c26bf] os::commit_memory(char*, unsigned long, unsigned long, bool)+0x1f +V [libjvm.so+0x833e4b] PSVirtualSpace::expand_by(unsigned long)+0x5b +V [libjvm.so+0x834ca0] PSYoungGen::resize_generation(unsigned long, unsigned long)+0xb0 +V [libjvm.so+0x83538b] PSYoungGen::resize(unsigned long, unsigned long)+0x1b +V [libjvm.so+0x831670] PSScavenge::invoke_no_policy()+0xde0 +V [libjvm.so+0x831e48] PSScavenge::invoke()+0x38 +V [libjvm.so+0x7e8823] ParallelScavengeHeap::failed_mem_allocate(unsigned long)+0x63 +V [libjvm.so+0x94a504] VM_ParallelGCFailedAllocation::doit()+0x84 +V [libjvm.so+0x94e9f7] VM_Operation::evaluate()+0x47 +V [libjvm.so+0x94d368] VMThread::evaluate_operation(VM_Operation*)+0x318 +V [libjvm.so+0x94d7c9] VMThread::loop()+0x219 +V [libjvm.so+0x94dc12] VMThread::run()+0x72 +V [libjvm.so+0x7c4ac2] java_start(Thread*)+0xf2 + +VM_Operation (0x00007fe197f36350): ParallelGCFailedAllocation, mode: safepoint, requested by thread 0x00007fe19000a000 + + +--------------- P R O C E S S --------------- + +Java Threads: ( => current thread ) + 0x00007fe1900b0800 JavaThread "Service Thread" daemon [_thread_blocked, id=12094, stack(0x00007fe17f81d000,0x00007fe17f91e000)] + 0x00007fe1900ae000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=12093, stack(0x00007fe1840c4000,0x00007fe1841c5000)] + 0x00007fe1900ab000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=12092, stack(0x00007fe1841c5000,0x00007fe1842c6000)] + 0x00007fe1900a9000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=12091, stack(0x00007fe1842c6000,0x00007fe1843c7000)] + 0x00007fe19007c000 JavaThread "Finalizer" daemon [_thread_blocked, id=12090, stack(0x00007fe1843c7000,0x00007fe1844c8000)] + 0x00007fe19007a000 JavaThread "Reference Handler" daemon [_thread_blocked, id=12089, stack(0x00007fe1844c8000,0x00007fe1845c9000)] + 0x00007fe19000a000 JavaThread "main" [_thread_blocked, id=12079, stack(0x00007fe197e37000,0x00007fe197f38000)] + +Other Threads: +=>0x00007fe190075800 VMThread [stack: 0x00007fe1845c9000,0x00007fe1846ca000] [id=12088] + 0x00007fe1900bb800 WatcherThread [stack: 0x00007fe17f71c000,0x00007fe17f81d000] [id=12095] + +VM state:at safepoint (normal execution) + +VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) +[0x00007fe1900064c0] Threads_lock - owner thread: 0x00007fe190075800 +[0x00007fe1900069c0] Heap_lock - owner thread: 0x00007fe19000a000 + +Heap + PSYoungGen total 143872K, used 24554K [0x00000000e0c00000, 0x00000000eb800000, 0x0000000100000000) + eden space 119296K, 0% used [0x00000000e0c00000,0x00000000e0c00000,0x00000000e8080000) + from space 24576K, 99% used [0x00000000e8080000,0x00000000e987ab98,0x00000000e9880000) + to space 16896K, 0% used [0x00000000e9880000,0x00000000e9880000,0x00000000ea900000) + ParOldGen total 44032K, used 43544K [0x00000000a2400000, 0x00000000a4f00000, 0x00000000e0c00000) + object space 44032K, 98% used [0x00000000a2400000,0x00000000a4e86208,0x00000000a4f00000) + PSPermGen total 21504K, used 9159K [0x0000000097e00000, 0x0000000099300000, 0x00000000a2400000) + object space 21504K, 42% used [0x0000000097e00000,0x00000000986f1f38,0x0000000099300000) + +Card table byte_map: [0x00007fe19473a000,0x00007fe194a7c000] byte_map_base: 0x00007fe19427b000 + +Polling page: 0x00007fe197f56000 + +Code Cache [0x00007fe18d000000, 0x00007fe18d270000, 0x00007fe190000000) + total_blobs=487 nmethods=189 adapters=251 free_code_cache=48324Kb largest_free_block=49449152 + +Compilation events (10 events): +Event: 94.996 Thread 0x00007fe1900ae000 185 s java.lang.StringBuffer::length (5 bytes) +Event: 94.998 Thread 0x00007fe1900ae000 nmethod 185 0x00007fe18d0a0710 code [0x00007fe18d0a0840, 0x00007fe18d0a0a58] +Event: 112.842 Thread 0x00007fe1900ab000 186 com.teradata.jdbc.ComUtil::findSubString (301 bytes) +Event: 112.869 Thread 0x00007fe1900ab000 nmethod 186 0x00007fe18d0d30d0 code [0x00007fe18d0d35c0, 0x00007fe18d0d5148] +Event: 433.692 Thread 0x00007fe1900ae000 187 sun.nio.cs.US_ASCII$Encoder::encode (107 bytes) +Event: 433.700 Thread 0x00007fe1900ae000 nmethod 187 0x00007fe18d0d0f50 code [0x00007fe18d0d10c0, 0x00007fe18d0d13f8] +Event: 438.676 Thread 0x00007fe1900ab000 188 java.lang.AbstractStringBuilder::append (144 bytes) +Event: 438.676 Thread 0x00007fe1900ae000 189 com.teradata.jdbc.ComUtil::remLineFeeds (227 bytes) +Event: 438.690 Thread 0x00007fe1900ab000 nmethod 188 0x00007fe18d0c0110 code [0x00007fe18d0c0280, 0x00007fe18d0c0708] +Event: 438.691 Thread 0x00007fe1900ae000 nmethod 189 0x00007fe18d0c0fd0 code [0x00007fe18d0c1320, 0x00007fe18d0c2168] + +GC Heap History (10 events): +Event: 0.237 GC heap after +Heap after GC invocations=2 (full 0): + PSYoungGen total 34304K, used 1600K [0x00000000e0c00000, 0x00000000e3000000, 0x0000000100000000) + eden space 31744K, 0% used [0x00000000e0c00000,0x00000000e0c00000,0x00000000e2b00000) + from space 2560K, 62% used [0x00000000e2d80000,0x00000000e2f10020,0x00000000e3000000) + to space 2560K, 0% used [0x00000000e2b00000,0x00000000e2b00000,0x00000000e2d80000) + ParOldGen total 40960K, used 0K [0x00000000a2400000, 0x00000000a4c00000, 0x00000000e0c00000) + object space 40960K, 0% used [0x00000000a2400000,0x00000000a2400000,0x00000000a4c00000) + PSPermGen total 21504K, used 2862K [0x0000000097e00000, 0x0000000099300000, 0x00000000a2400000) + object space 21504K, 13% used [0x0000000097e00000,0x00000000980cbbf0,0x0000000099300000) +} +Event: 0.336 GC heap before +{Heap before GC invocations=3 (full 0): + PSYoungGen total 34304K, used 33344K [0x00000000e0c00000, 0x00000000e3000000, 0x0000000100000000) + eden space 31744K, 100% used [0x00000000e0c00000,0x00000000e2b00000,0x00000000e2b00000) + from space 2560K, 62% used [0x00000000e2d80000,0x00000000e2f10020,0x00000000e3000000) + to space 2560K, 0% used [0x00000000e2b00000,0x00000000e2b00000,0x00000000e2d80000) + ParOldGen total 40960K, used 0K [0x00000000a2400000, 0x00000000a4c00000, 0x00000000e0c00000) + object space 40960K, 0% used [0x00000000a2400000,0x00000000a2400000,0x00000000a4c00000) + PSPermGen total 21504K, used 2879K [0x0000000097e00000, 0x0000000099300000, 0x00000000a2400000) + object space 21504K, 13% used [0x0000000097e00000,0x00000000980cfcc8,0x0000000099300000) +Event: 0.338 GC heap after +Heap after GC invocations=3 (full 0): + PSYoungGen total 34304K, used 2544K [0x00000000e0c00000, 0x00000000e4f00000, 0x0000000100000000) + eden space 31744K, 0% used [0x00000000e0c00000,0x00000000e0c00000,0x00000000e2b00000) + from space 2560K, 99% used [0x00000000e2b00000,0x00000000e2d7c030,0x00000000e2d80000) + to space 2560K, 0% used [0x00000000e4c80000,0x00000000e4c80000,0x00000000e4f00000) + ParOldGen total 40960K, used 144K [0x00000000a2400000, 0x00000000a4c00000, 0x00000000e0c00000) + object space 40960K, 0% used [0x00000000a2400000,0x00000000a2424000,0x00000000a4c00000) + PSPermGen total 21504K, used 2879K [0x0000000097e00000, 0x0000000099300000, 0x00000000a2400000) + object space 21504K, 13% used [0x0000000097e00000,0x00000000980cfcc8,0x0000000099300000) +} +Event: 0.936 GC heap before +{Heap before GC invocations=4 (full 0): + PSYoungGen total 34304K, used 34288K [0x00000000e0c00000, 0x00000000e4f00000, 0x0000000100000000) + eden space 31744K, 100% used [0x00000000e0c00000,0x00000000e2b00000,0x00000000e2b00000) + from space 2560K, 99% used [0x00000000e2b00000,0x00000000e2d7c030,0x00000000e2d80000) + to space 2560K, 0% used [0x00000000e4c80000,0x00000000e4c80000,0x00000000e4f00000) + ParOldGen total 40960K, used 144K [0x00000000a2400000, 0x00000000a4c00000, 0x00000000e0c00000) + object space 40960K, 0% used [0x00000000a2400000,0x00000000a2424000,0x00000000a4c00000) + PSPermGen total 21504K, used 7605K [0x0000000097e00000, 0x0000000099300000, 0x00000000a2400000) + object space 21504K, 35% used [0x0000000097e00000,0x000000009856d5c0,0x0000000099300000) +Event: 0.943 GC heap after +Heap after GC invocations=4 (full 0): + PSYoungGen total 66048K, used 2559K [0x00000000e0c00000, 0x00000000e4f00000, 0x0000000100000000) + eden space 63488K, 0% used [0x00000000e0c00000,0x00000000e0c00000,0x00000000e4a00000) + from space 2560K, 99% used [0x00000000e4c80000,0x00000000e4effeb8,0x00000000e4f00000) + to space 2560K, 0% used [0x00000000e4a00000,0x00000000e4a00000,0x00000000e4c80000) + ParOldGen total 40960K, used 2618K [0x00000000a2400000, 0x00000000a4c00000, 0x00000000e0c00000) + object space 40960K, 6% used [0x00000000a2400000,0x00000000a268e880,0x00000000a4c00000) + PSPermGen total 21504K, used 7605K [0x0000000097e00000, 0x0000000099300000, 0x00000000a2400000) + object space 21504K, 35% used [0x0000000097e00000,0x000000009856d5c0,0x0000000099300000) +} +Event: 99.018 GC heap before +{Heap before GC invocations=5 (full 0): + PSYoungGen total 66048K, used 66047K [0x00000000e0c00000, 0x00000000e4f00000, 0x0000000100000000) + eden space 63488K, 100% used [0x00000000e0c00000,0x00000000e4a00000,0x00000000e4a00000) + from space 2560K, 99% used [0x00000000e4c80000,0x00000000e4effeb8,0x00000000e4f00000) + to space 2560K, 0% used [0x00000000e4a00000,0x00000000e4a00000,0x00000000e4c80000) + ParOldGen total 40960K, used 2618K [0x00000000a2400000, 0x00000000a4c00000, 0x00000000e0c00000) + object space 40960K, 6% used [0x00000000a2400000,0x00000000a268e880,0x00000000a4c00000) + PSPermGen total 21504K, used 9145K [0x0000000097e00000, 0x0000000099300000, 0x00000000a2400000) + object space 21504K, 42% used [0x0000000097e00000,0x00000000986ee770,0x0000000099300000) +Event: 99.052 GC heap after +Heap after GC invocations=5 (full 0): + PSYoungGen total 66048K, used 2545K [0x00000000e0c00000, 0x00000000ea900000, 0x0000000100000000) + eden space 63488K, 0% used [0x00000000e0c00000,0x00000000e0c00000,0x00000000e4a00000) + from space 2560K, 99% used [0x00000000e4a00000,0x00000000e4c7c508,0x00000000e4c80000) + to space 16896K, 0% used [0x00000000e9880000,0x00000000e9880000,0x00000000ea900000) + ParOldGen total 40960K, used 19750K [0x00000000a2400000, 0x00000000a4c00000, 0x00000000e0c00000) + object space 40960K, 48% used [0x00000000a2400000,0x00000000a3749a20,0x00000000a4c00000) + PSPermGen total 21504K, used 9145K [0x0000000097e00000, 0x0000000099300000, 0x00000000a2400000) + object space 21504K, 42% used [0x0000000097e00000,0x00000000986ee770,0x0000000099300000) +} +Event: 416.923 GC heap before +{Heap before GC invocations=6 (full 0): + PSYoungGen total 66048K, used 66033K [0x00000000e0c00000, 0x00000000ea900000, 0x0000000100000000) + eden space 63488K, 100% used [0x00000000e0c00000,0x00000000e4a00000,0x00000000e4a00000) + from space 2560K, 99% used [0x00000000e4a00000,0x00000000e4c7c508,0x00000000e4c80000) + to space 16896K, 0% used [0x00000000e9880000,0x00000000e9880000,0x00000000ea900000) + ParOldGen total 40960K, used 19750K [0x00000000a2400000, 0x00000000a4c00000, 0x00000000e0c00000) + object space 40960K, 48% used [0x00000000a2400000,0x00000000a3749a20,0x00000000a4c00000) + PSPermGen total 21504K, used 9145K [0x0000000097e00000, 0x0000000099300000, 0x00000000a2400000) + object space 21504K, 42% used [0x0000000097e00000,0x00000000986ee770,0x0000000099300000) +Event: 416.965 GC heap after +Heap after GC invocations=6 (full 0): + PSYoungGen total 136192K, used 16866K [0x00000000e0c00000, 0x00000000eb800000, 0x0000000100000000) + eden space 119296K, 0% used [0x00000000e0c00000,0x00000000e0c00000,0x00000000e8080000) + from space 16896K, 99% used [0x00000000e9880000,0x00000000ea8f88b0,0x00000000ea900000) + to space 24576K, 0% used [0x00000000e8080000,0x00000000e8080000,0x00000000e9880000) + ParOldGen total 40960K, used 26273K [0x00000000a2400000, 0x00000000a4c00000, 0x00000000e0c00000) + object space 40960K, 64% used [0x00000000a2400000,0x00000000a3da8430,0x00000000a4c00000) + PSPermGen total 21504K, used 9145K [0x0000000097e00000, 0x0000000099300000, 0x00000000a2400000) + object space 21504K, 42% used [0x0000000097e00000,0x00000000986ee770,0x0000000099300000) +} +Event: 1308.028 GC heap before +{Heap before GC invocations=7 (full 0): + PSYoungGen total 136192K, used 136162K [0x00000000e0c00000, 0x00000000eb800000, 0x0000000100000000) + eden space 119296K, 100% used [0x00000000e0c00000,0x00000000e8080000,0x00000000e8080000) + from space 16896K, 99% used [0x00000000e9880000,0x00000000ea8f88b0,0x00000000ea900000) + to space 24576K, 0% used [0x00000000e8080000,0x00000000e8080000,0x00000000e9880000) + ParOldGen total 40960K, used 26273K [0x00000000a2400000, 0x00000000a4c00000, 0x00000000e0c00000) + object space 40960K, 64% used [0x00000000a2400000,0x00000000a3da8430,0x00000000a4c00000) + PSPermGen total 21504K, used 9159K [0x0000000097e00000, 0x0000000099300000, 0x00000000a2400000) + object space 21504K, 42% used [0x0000000097e00000,0x00000000986f1f38,0x0000000099300000) + +Deoptimization events (9 events): +Event: 0.269 Thread 0x00007fe19000a000 Uncommon trap: reason=unloaded action=reinterpret pc=0x00007fe18d05fd34 method=java.io.BufferedReader.readLine(Z)Ljava/lang/String; @ 268 +Event: 0.372 Thread 0x00007fe19000a000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007fe18d0691d8 method=java.lang.String.valueOf(Ljava/lang/Object;)Ljava/lang/String; @ 10 +Event: 0.372 Thread 0x00007fe19000a000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007fe18d0691d8 method=java.lang.String.valueOf(Ljava/lang/Object;)Ljava/lang/String; @ 10 +Event: 0.486 Thread 0x00007fe19000a000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007fe18d0691d8 method=java.lang.String.valueOf(Ljava/lang/Object;)Ljava/lang/String; @ 10 +Event: 0.486 Thread 0x00007fe19000a000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007fe18d0691d8 method=java.lang.String.valueOf(Ljava/lang/Object;)Ljava/lang/String; @ 10 +Event: 0.496 Thread 0x00007fe19000a000 Uncommon trap: reason=unreached action=reinterpret pc=0x00007fe18d0689c0 method=java.lang.AbstractStringBuilder.append(Ljava/lang/String;)Ljava/lang/AbstractStringBuilder; @ 1 +Event: 0.583 Thread 0x00007fe19000a000 Uncommon trap: reason=null_check action=make_not_entrant pc=0x00007fe18d067560 method=java.lang.String.equals(Ljava/lang/Object;)Z @ 8 +Event: 0.675 Thread 0x00007fe19000a000 Uncommon trap: reason=unreached action=reinterpret pc=0x00007fe18d080d40 method=java.lang.String.equalsIgnoreCase(Ljava/lang/String;)Z @ 10 +Event: 0.784 Thread 0x00007fe19000a000 Uncommon trap: reason=unreached action=reinterpret pc=0x00007fe18d065ebc method=java.lang.AbstractStringBuilder.append(Ljava/lang/String;)Ljava/lang/AbstractStringBuilder; @ 1 + +Internal exceptions (10 events): +Event: 2.175 Thread 0x00007fe19000a000 Threw 0x00000000e10d7a40 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 12.164 Thread 0x00007fe19000a000 Threw 0x00000000e10e0720 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 12.165 Thread 0x00007fe19000a000 Threw 0x00000000e119bd78 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 12.166 Thread 0x00007fe19000a000 Threw 0x00000000e119f820 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 12.174 Thread 0x00007fe19000a000 Threw 0x00000000e11c3498 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 12.176 Thread 0x00007fe19000a000 Threw 0x00000000e11cdd18 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 12.176 Thread 0x00007fe19000a000 Threw 0x00000000e11d1d90 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 12.187 Thread 0x00007fe19000a000 Threw 0x00000000e11d9250 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 12.188 Thread 0x00007fe19000a000 Threw 0x00000000e11dd2b8 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 12.404 Thread 0x00007fe19000a000 Threw 0x00000000e2239dd8 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 + +Events (10 events): +Event: 416.966 Executing VM operation: RevokeBias done +Event: 416.966 Executing VM operation: RevokeBias +Event: 416.966 Executing VM operation: RevokeBias done +Event: 416.966 Executing VM operation: RevokeBias +Event: 416.966 Executing VM operation: RevokeBias done +Event: 416.966 Executing VM operation: RevokeBias +Event: 416.966 Executing VM operation: RevokeBias done +Event: 427.222 Executing VM operation: BulkRevokeBias +Event: 427.222 Executing VM operation: BulkRevokeBias done +Event: 1308.011 Executing VM operation: ParallelGCFailedAllocation + + +Dynamic libraries: +00400000-00401000 r-xp 00000000 08:05 412325 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java +00600000-00601000 r--p 00000000 08:05 412325 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java +00601000-00602000 rw-p 00001000 08:05 412325 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java +01a50000-01a71000 rw-p 00000000 00:00 0 [heap] +97e00000-99300000 rw-p 00000000 00:00 0 +99300000-a2400000 rw-p 00000000 00:00 0 +a2400000-a4f00000 rw-p 00000000 00:00 0 +a4f00000-e0c00000 rw-p 00000000 00:00 0 +e0c00000-eb800000 rw-p 00000000 00:00 0 +f4100000-100000000 rw-p 00000000 00:00 0 +7fe150000000-7fe150021000 rw-p 00000000 00:00 0 +7fe150021000-7fe154000000 ---p 00000000 00:00 0 +7fe154000000-7fe154021000 rw-p 00000000 00:00 0 +7fe154021000-7fe158000000 ---p 00000000 00:00 0 +7fe158000000-7fe1587f0000 rw-p 00000000 00:00 0 +7fe1587f0000-7fe15c000000 ---p 00000000 00:00 0 +7fe15c000000-7fe15c021000 rw-p 00000000 00:00 0 +7fe15c021000-7fe160000000 ---p 00000000 00:00 0 +7fe160000000-7fe160021000 rw-p 00000000 00:00 0 +7fe160021000-7fe164000000 ---p 00000000 00:00 0 +7fe164000000-7fe1645d5000 rw-p 00000000 00:00 0 +7fe1645d5000-7fe168000000 ---p 00000000 00:00 0 +7fe168000000-7fe168021000 rw-p 00000000 00:00 0 +7fe168021000-7fe16c000000 ---p 00000000 00:00 0 +7fe16c000000-7fe16c021000 rw-p 00000000 00:00 0 +7fe16c021000-7fe170000000 ---p 00000000 00:00 0 +7fe170000000-7fe170021000 rw-p 00000000 00:00 0 +7fe170021000-7fe174000000 ---p 00000000 00:00 0 +7fe174000000-7fe174021000 rw-p 00000000 00:00 0 +7fe174021000-7fe178000000 ---p 00000000 00:00 0 +7fe178000000-7fe178021000 rw-p 00000000 00:00 0 +7fe178021000-7fe17c000000 ---p 00000000 00:00 0 +7fe17c11b000-7fe17c355000 rw-p 00000000 00:00 0 +7fe17c355000-7fe17c35d000 r-xp 00000000 08:05 407448 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libmanagement.so +7fe17c35d000-7fe17c55c000 ---p 00008000 08:05 407448 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libmanagement.so +7fe17c55c000-7fe17c55d000 r--p 00007000 08:05 407448 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libmanagement.so +7fe17c55d000-7fe17c55e000 rw-p 00008000 08:05 407448 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libmanagement.so +7fe17c55e000-7fe17c561000 ---p 00000000 00:00 0 +7fe17c561000-7fe17c65f000 rw-p 00000000 00:00 0 +7fe17c65f000-7fe17c664000 r-xp 00000000 08:05 131312 /lib/x86_64-linux-gnu/libnss_dns-2.19.so +7fe17c664000-7fe17c863000 ---p 00005000 08:05 131312 /lib/x86_64-linux-gnu/libnss_dns-2.19.so +7fe17c863000-7fe17c864000 r--p 00004000 08:05 131312 /lib/x86_64-linux-gnu/libnss_dns-2.19.so +7fe17c864000-7fe17c865000 rw-p 00005000 08:05 131312 /lib/x86_64-linux-gnu/libnss_dns-2.19.so +7fe17c865000-7fe17c867000 r-xp 00000000 08:05 135238 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 +7fe17c867000-7fe17ca66000 ---p 00002000 08:05 135238 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 +7fe17ca66000-7fe17ca67000 r--p 00001000 08:05 135238 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 +7fe17ca67000-7fe17ca68000 rw-p 00002000 08:05 135238 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 +7fe17ca68000-7fe17cae0000 r-xp 00000000 08:05 3295924 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so +7fe17cae0000-7fe17cce0000 ---p 00078000 08:05 3295924 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so +7fe17cce0000-7fe17cce2000 r--p 00078000 08:05 3295924 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so +7fe17cce2000-7fe17cce3000 rw-p 0007a000 08:05 3295924 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so +7fe17cce3000-7fe17cce7000 rw-p 00000000 00:00 0 +7fe17cce7000-7fe17cd9b000 r-xp 00000000 08:05 3024716 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 +7fe17cd9b000-7fe17cf9b000 ---p 000b4000 08:05 3024716 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 +7fe17cf9b000-7fe17cf9d000 r--p 000b4000 08:05 3024716 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 +7fe17cf9d000-7fe17cf9f000 rw-p 000b6000 08:05 3024716 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 +7fe17cf9f000-7fe17cfa0000 rw-p 00000000 00:00 0 +7fe17cfa0000-7fe17cfe0000 r-xp 00000000 08:05 3295928 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so +7fe17cfe0000-7fe17d1e0000 ---p 00040000 08:05 3295928 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so +7fe17d1e0000-7fe17d1e1000 r--p 00040000 08:05 3295928 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so +7fe17d1e1000-7fe17d1e2000 rw-p 00041000 08:05 3295928 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so +7fe17d1e2000-7fe17d21a000 r-xp 00000000 08:05 3016688 /usr/lib/x86_64-linux-gnu/libnspr4.so +7fe17d21a000-7fe17d41a000 ---p 00038000 08:05 3016688 /usr/lib/x86_64-linux-gnu/libnspr4.so +7fe17d41a000-7fe17d41b000 r--p 00038000 08:05 3016688 /usr/lib/x86_64-linux-gnu/libnspr4.so +7fe17d41b000-7fe17d41c000 rw-p 00039000 08:05 3016688 /usr/lib/x86_64-linux-gnu/libnspr4.so +7fe17d41c000-7fe17d41f000 rw-p 00000000 00:00 0 +7fe17d41f000-7fe17d422000 r-xp 00000000 08:05 3015889 /usr/lib/x86_64-linux-gnu/libplds4.so +7fe17d422000-7fe17d621000 ---p 00003000 08:05 3015889 /usr/lib/x86_64-linux-gnu/libplds4.so +7fe17d621000-7fe17d622000 r--p 00002000 08:05 3015889 /usr/lib/x86_64-linux-gnu/libplds4.so +7fe17d622000-7fe17d623000 rw-p 00003000 08:05 3015889 /usr/lib/x86_64-linux-gnu/libplds4.so +7fe17d623000-7fe17d627000 r-xp 00000000 08:05 3016106 /usr/lib/x86_64-linux-gnu/libplc4.so +7fe17d627000-7fe17d826000 ---p 00004000 08:05 3016106 /usr/lib/x86_64-linux-gnu/libplc4.so +7fe17d826000-7fe17d827000 r--p 00003000 08:05 3016106 /usr/lib/x86_64-linux-gnu/libplc4.so +7fe17d827000-7fe17d828000 rw-p 00004000 08:05 3016106 /usr/lib/x86_64-linux-gnu/libplc4.so +7fe17d828000-7fe17d84d000 r-xp 00000000 08:05 3016689 /usr/lib/x86_64-linux-gnu/libnssutil3.so +7fe17d84d000-7fe17da4c000 ---p 00025000 08:05 3016689 /usr/lib/x86_64-linux-gnu/libnssutil3.so +7fe17da4c000-7fe17da52000 r--p 00024000 08:05 3016689 /usr/lib/x86_64-linux-gnu/libnssutil3.so +7fe17da52000-7fe17da53000 rw-p 0002a000 08:05 3016689 /usr/lib/x86_64-linux-gnu/libnssutil3.so +7fe17da53000-7fe17db86000 r-xp 00000000 08:05 3016692 /usr/lib/x86_64-linux-gnu/libnss3.so +7fe17db86000-7fe17dd85000 ---p 00133000 08:05 3016692 /usr/lib/x86_64-linux-gnu/libnss3.so +7fe17dd85000-7fe17dd8a000 r--p 00132000 08:05 3016692 /usr/lib/x86_64-linux-gnu/libnss3.so +7fe17dd8a000-7fe17dd8c000 rw-p 00137000 08:05 3016692 /usr/lib/x86_64-linux-gnu/libnss3.so +7fe17dd8c000-7fe17dd8d000 rw-p 00000000 00:00 0 +7fe17dd8d000-7fe17dd9d000 r-xp 00000000 08:05 407443 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so +7fe17dd9d000-7fe17df9c000 ---p 00010000 08:05 407443 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so +7fe17df9c000-7fe17df9d000 r--p 0000f000 08:05 407443 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so +7fe17df9d000-7fe17df9e000 rw-p 00010000 08:05 407443 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so +7fe17df9e000-7fe17dfdb000 r-xp 00000000 08:05 135260 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 +7fe17dfdb000-7fe17e1da000 ---p 0003d000 08:05 135260 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 +7fe17e1da000-7fe17e1db000 r--p 0003c000 08:05 135260 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 +7fe17e1db000-7fe17e1dc000 rw-p 0003d000 08:05 135260 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 +7fe17e1dc000-7fe17e1e3000 r-xp 00000000 08:05 3024098 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 +7fe17e1e3000-7fe17e3e2000 ---p 00007000 08:05 3024098 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 +7fe17e3e2000-7fe17e3e3000 r--p 00006000 08:05 3024098 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 +7fe17e3e3000-7fe17e3e4000 rw-p 00007000 08:05 3024098 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 +7fe17e3e4000-7fe17e3fb000 r-xp 00000000 08:05 131262 /lib/x86_64-linux-gnu/libresolv-2.19.so +7fe17e3fb000-7fe17e5fb000 ---p 00017000 08:05 131262 /lib/x86_64-linux-gnu/libresolv-2.19.so +7fe17e5fb000-7fe17e5fc000 r--p 00017000 08:05 131262 /lib/x86_64-linux-gnu/libresolv-2.19.so +7fe17e5fc000-7fe17e5fd000 rw-p 00018000 08:05 131262 /lib/x86_64-linux-gnu/libresolv-2.19.so +7fe17e5fd000-7fe17e5ff000 rw-p 00000000 00:00 0 +7fe17e5ff000-7fe17e61f000 r-xp 00000000 08:05 135287 /lib/x86_64-linux-gnu/libselinux.so.1 +7fe17e61f000-7fe17e81e000 ---p 00020000 08:05 135287 /lib/x86_64-linux-gnu/libselinux.so.1 +7fe17e81e000-7fe17e81f000 r--p 0001f000 08:05 135287 /lib/x86_64-linux-gnu/libselinux.so.1 +7fe17e81f000-7fe17e820000 rw-p 00020000 08:05 135287 /lib/x86_64-linux-gnu/libselinux.so.1 +7fe17e820000-7fe17e822000 rw-p 00000000 00:00 0 +7fe17e822000-7fe17e825000 r-xp 00000000 08:05 3015020 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0 +7fe17e825000-7fe17ea24000 ---p 00003000 08:05 3015020 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0 +7fe17ea24000-7fe17ea25000 r--p 00002000 08:05 3015020 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0 +7fe17ea25000-7fe17ea26000 rw-p 00003000 08:05 3015020 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0 +7fe17ea26000-7fe17eb2c000 r-xp 00000000 08:05 136560 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0 +7fe17eb2c000-7fe17ed2b000 ---p 00106000 08:05 136560 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0 +7fe17ed2b000-7fe17ed2c000 r--p 00105000 08:05 136560 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0 +7fe17ed2c000-7fe17ed2d000 rw-p 00106000 08:05 136560 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0 +7fe17ed2d000-7fe17ed2e000 rw-p 00000000 00:00 0 +7fe17ed2e000-7fe17ed7d000 r-xp 00000000 08:05 3015038 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0 +7fe17ed7d000-7fe17ef7d000 ---p 0004f000 08:05 3015038 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0 +7fe17ef7d000-7fe17ef7e000 r--p 0004f000 08:05 3015038 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0 +7fe17ef7e000-7fe17ef7f000 rw-p 00050000 08:05 3015038 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0 +7fe17ef7f000-7fe17f0eb000 r-xp 00000000 08:05 3015042 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0 +7fe17f0eb000-7fe17f2ea000 ---p 0016c000 08:05 3015042 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0 +7fe17f2ea000-7fe17f2ee000 r--p 0016b000 08:05 3015042 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0 +7fe17f2ee000-7fe17f2f0000 rw-p 0016f000 08:05 3015042 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0 +7fe17f2f0000-7fe17f2f2000 rw-p 00000000 00:00 0 +7fe17f2f2000-7fe17f309000 r-xp 00000000 08:05 407432 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so +7fe17f309000-7fe17f508000 ---p 00017000 08:05 407432 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so +7fe17f508000-7fe17f509000 r--p 00016000 08:05 407432 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so +7fe17f509000-7fe17f50a000 rw-p 00017000 08:05 407432 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so +7fe17f50a000-7fe17f51a000 r-xp 00000000 08:05 407447 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so +7fe17f51a000-7fe17f71a000 ---p 00010000 08:05 407447 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so +7fe17f71a000-7fe17f71b000 r--p 00010000 08:05 407447 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so +7fe17f71b000-7fe17f71c000 rw-p 00011000 08:05 407447 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so +7fe17f71c000-7fe17f71d000 ---p 00000000 00:00 0 +7fe17f71d000-7fe17f81d000 rw-p 00000000 00:00 0 [stack:12095] +7fe17f81d000-7fe17f820000 ---p 00000000 00:00 0 +7fe17f820000-7fe17f91e000 rw-p 00000000 00:00 0 [stack:12094] +7fe17f91e000-7fe180000000 r--p 00000000 08:05 3022654 /usr/lib/locale/locale-archive +7fe180000000-7fe180021000 rw-p 00000000 00:00 0 +7fe180021000-7fe184000000 ---p 00000000 00:00 0 +7fe1840c4000-7fe1840c7000 ---p 00000000 00:00 0 +7fe1840c7000-7fe1841c5000 rw-p 00000000 00:00 0 [stack:12093] +7fe1841c5000-7fe1841c8000 ---p 00000000 00:00 0 +7fe1841c8000-7fe1842c6000 rw-p 00000000 00:00 0 [stack:12092] +7fe1842c6000-7fe1842c9000 ---p 00000000 00:00 0 +7fe1842c9000-7fe1843c7000 rw-p 00000000 00:00 0 [stack:12091] +7fe1843c7000-7fe1843ca000 ---p 00000000 00:00 0 +7fe1843ca000-7fe1844c8000 rw-p 00000000 00:00 0 [stack:12090] +7fe1844c8000-7fe1844cb000 ---p 00000000 00:00 0 +7fe1844cb000-7fe1845c9000 rw-p 00000000 00:00 0 [stack:12089] +7fe1845c9000-7fe1845ca000 ---p 00000000 00:00 0 +7fe1845ca000-7fe188000000 rw-p 00000000 00:00 0 [stack:12088] +7fe188000000-7fe188021000 rw-p 00000000 00:00 0 +7fe188021000-7fe18c000000 ---p 00000000 00:00 0 +7fe18c002000-7fe18c005000 r--s 00017000 08:05 409644 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar +7fe18c005000-7fe18c00a000 r--s 0004c000 08:05 409642 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar +7fe18c00a000-7fe18ca98000 rw-p 00000000 00:00 0 +7fe18ca98000-7fe18cc49000 r--s 01d25000 08:05 410830 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar +7fe18cc49000-7fe18d000000 rw-p 00000000 00:00 0 +7fe18d000000-7fe18d270000 rwxp 00000000 00:00 0 +7fe18d270000-7fe190351000 rw-p 00000000 00:00 0 +7fe190351000-7fe194000000 ---p 00000000 00:00 0 +7fe194002000-7fe1940ef000 rw-p 00000000 00:00 0 +7fe1940ef000-7fe1940f0000 ---p 00000000 00:00 0 +7fe1940f0000-7fe1941f0000 rw-p 00000000 00:00 0 [stack:12083] +7fe1941f0000-7fe1941f1000 ---p 00000000 00:00 0 +7fe1941f1000-7fe1942f1000 rw-p 00000000 00:00 0 [stack:12082] +7fe1942f1000-7fe1942f2000 ---p 00000000 00:00 0 +7fe1942f2000-7fe1943f2000 rw-p 00000000 00:00 0 [stack:12081] +7fe1943f2000-7fe1943f3000 ---p 00000000 00:00 0 +7fe1943f3000-7fe1944fe000 rw-p 00000000 00:00 0 [stack:12080] +7fe1944fe000-7fe194546000 rw-p 00000000 00:00 0 +7fe194546000-7fe19455c000 rw-p 00000000 00:00 0 +7fe19455c000-7fe19473a000 rw-p 00000000 00:00 0 +7fe19473a000-7fe194745000 rw-p 00000000 00:00 0 +7fe194745000-7fe19478d000 rw-p 00000000 00:00 0 +7fe19478d000-7fe1947a3000 rw-p 00000000 00:00 0 +7fe1947a3000-7fe194981000 rw-p 00000000 00:00 0 +7fe194981000-7fe1949d7000 rw-p 00000000 00:00 0 +7fe1949d7000-7fe194a7b000 rw-p 00000000 00:00 0 +7fe194a7b000-7fe194a7c000 rw-p 00000000 00:00 0 +7fe194a7c000-7fe194a84000 r-xp 00000000 08:05 404640 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so +7fe194a84000-7fe194c83000 ---p 00008000 08:05 404640 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so +7fe194c83000-7fe194c84000 r--p 00007000 08:05 404640 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so +7fe194c84000-7fe194c85000 rw-p 00008000 08:05 404640 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so +7fe194c85000-7fe194c90000 r-xp 00000000 08:05 131317 /lib/x86_64-linux-gnu/libnss_files-2.19.so +7fe194c90000-7fe194e8f000 ---p 0000b000 08:05 131317 /lib/x86_64-linux-gnu/libnss_files-2.19.so +7fe194e8f000-7fe194e90000 r--p 0000a000 08:05 131317 /lib/x86_64-linux-gnu/libnss_files-2.19.so +7fe194e90000-7fe194e91000 rw-p 0000b000 08:05 131317 /lib/x86_64-linux-gnu/libnss_files-2.19.so +7fe194e91000-7fe194e9c000 r-xp 00000000 08:05 131324 /lib/x86_64-linux-gnu/libnss_nis-2.19.so +7fe194e9c000-7fe19509b000 ---p 0000b000 08:05 131324 /lib/x86_64-linux-gnu/libnss_nis-2.19.so +7fe19509b000-7fe19509c000 r--p 0000a000 08:05 131324 /lib/x86_64-linux-gnu/libnss_nis-2.19.so +7fe19509c000-7fe19509d000 rw-p 0000b000 08:05 131324 /lib/x86_64-linux-gnu/libnss_nis-2.19.so +7fe19509d000-7fe1950b4000 r-xp 00000000 08:05 131310 /lib/x86_64-linux-gnu/libnsl-2.19.so +7fe1950b4000-7fe1952b3000 ---p 00017000 08:05 131310 /lib/x86_64-linux-gnu/libnsl-2.19.so +7fe1952b3000-7fe1952b4000 r--p 00016000 08:05 131310 /lib/x86_64-linux-gnu/libnsl-2.19.so +7fe1952b4000-7fe1952b5000 rw-p 00017000 08:05 131310 /lib/x86_64-linux-gnu/libnsl-2.19.so +7fe1952b5000-7fe1952b7000 rw-p 00000000 00:00 0 +7fe1952b7000-7fe1952c0000 r-xp 00000000 08:05 131321 /lib/x86_64-linux-gnu/libnss_compat-2.19.so +7fe1952c0000-7fe1954bf000 ---p 00009000 08:05 131321 /lib/x86_64-linux-gnu/libnss_compat-2.19.so +7fe1954bf000-7fe1954c0000 r--p 00008000 08:05 131321 /lib/x86_64-linux-gnu/libnss_compat-2.19.so +7fe1954c0000-7fe1954c1000 rw-p 00009000 08:05 131321 /lib/x86_64-linux-gnu/libnss_compat-2.19.so +7fe1954c1000-7fe1954ec000 r-xp 00000000 08:05 407431 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so +7fe1954ec000-7fe1956eb000 ---p 0002b000 08:05 407431 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so +7fe1956eb000-7fe1956ec000 r--p 0002a000 08:05 407431 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so +7fe1956ec000-7fe1956ee000 rw-p 0002b000 08:05 407431 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so +7fe1956ee000-7fe1956fe000 r-xp 00000000 08:05 407446 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so +7fe1956fe000-7fe1958fd000 ---p 00010000 08:05 407446 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so +7fe1958fd000-7fe1958ff000 r--p 0000f000 08:05 407446 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so +7fe1958ff000-7fe195900000 rw-p 00011000 08:05 407446 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so +7fe195900000-7fe195907000 r-xp 00000000 08:05 131327 /lib/x86_64-linux-gnu/librt-2.19.so +7fe195907000-7fe195b06000 ---p 00007000 08:05 131327 /lib/x86_64-linux-gnu/librt-2.19.so +7fe195b06000-7fe195b07000 r--p 00006000 08:05 131327 /lib/x86_64-linux-gnu/librt-2.19.so +7fe195b07000-7fe195b08000 rw-p 00007000 08:05 131327 /lib/x86_64-linux-gnu/librt-2.19.so +7fe195b08000-7fe195b1e000 r-xp 00000000 08:05 135134 /lib/x86_64-linux-gnu/libgcc_s.so.1 +7fe195b1e000-7fe195d1d000 ---p 00016000 08:05 135134 /lib/x86_64-linux-gnu/libgcc_s.so.1 +7fe195d1d000-7fe195d1e000 rw-p 00015000 08:05 135134 /lib/x86_64-linux-gnu/libgcc_s.so.1 +7fe195d1e000-7fe195e23000 r-xp 00000000 08:05 131309 /lib/x86_64-linux-gnu/libm-2.19.so +7fe195e23000-7fe196022000 ---p 00105000 08:05 131309 /lib/x86_64-linux-gnu/libm-2.19.so +7fe196022000-7fe196023000 r--p 00104000 08:05 131309 /lib/x86_64-linux-gnu/libm-2.19.so +7fe196023000-7fe196024000 rw-p 00105000 08:05 131309 /lib/x86_64-linux-gnu/libm-2.19.so +7fe196024000-7fe19610a000 r-xp 00000000 08:05 3024726 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 +7fe19610a000-7fe196309000 ---p 000e6000 08:05 3024726 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 +7fe196309000-7fe196311000 r--p 000e5000 08:05 3024726 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 +7fe196311000-7fe196313000 rw-p 000ed000 08:05 3024726 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 +7fe196313000-7fe196328000 rw-p 00000000 00:00 0 +7fe196328000-7fe196e3e000 r-xp 00000000 08:05 407452 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so +7fe196e3e000-7fe19703d000 ---p 00b16000 08:05 407452 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so +7fe19703d000-7fe1970d7000 r--p 00b15000 08:05 407452 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so +7fe1970d7000-7fe1970fa000 rw-p 00baf000 08:05 407452 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so +7fe1970fa000-7fe197128000 rw-p 00000000 00:00 0 +7fe197128000-7fe197140000 r-xp 00000000 08:05 135320 /lib/x86_64-linux-gnu/libz.so.1.2.8 +7fe197140000-7fe19733f000 ---p 00018000 08:05 135320 /lib/x86_64-linux-gnu/libz.so.1.2.8 +7fe19733f000-7fe197340000 r--p 00017000 08:05 135320 /lib/x86_64-linux-gnu/libz.so.1.2.8 +7fe197340000-7fe197341000 rw-p 00018000 08:05 135320 /lib/x86_64-linux-gnu/libz.so.1.2.8 +7fe197341000-7fe19735a000 r-xp 00000000 08:05 131314 /lib/x86_64-linux-gnu/libpthread-2.19.so +7fe19735a000-7fe197559000 ---p 00019000 08:05 131314 /lib/x86_64-linux-gnu/libpthread-2.19.so +7fe197559000-7fe19755a000 r--p 00018000 08:05 131314 /lib/x86_64-linux-gnu/libpthread-2.19.so +7fe19755a000-7fe19755b000 rw-p 00019000 08:05 131314 /lib/x86_64-linux-gnu/libpthread-2.19.so +7fe19755b000-7fe19755f000 rw-p 00000000 00:00 0 +7fe19755f000-7fe197562000 r-xp 00000000 08:05 131319 /lib/x86_64-linux-gnu/libdl-2.19.so +7fe197562000-7fe197761000 ---p 00003000 08:05 131319 /lib/x86_64-linux-gnu/libdl-2.19.so +7fe197761000-7fe197762000 r--p 00002000 08:05 131319 /lib/x86_64-linux-gnu/libdl-2.19.so +7fe197762000-7fe197763000 rw-p 00003000 08:05 131319 /lib/x86_64-linux-gnu/libdl-2.19.so +7fe197763000-7fe19791e000 r-xp 00000000 08:05 131325 /lib/x86_64-linux-gnu/libc-2.19.so +7fe19791e000-7fe197b1e000 ---p 001bb000 08:05 131325 /lib/x86_64-linux-gnu/libc-2.19.so +7fe197b1e000-7fe197b22000 r--p 001bb000 08:05 131325 /lib/x86_64-linux-gnu/libc-2.19.so +7fe197b22000-7fe197b24000 rw-p 001bf000 08:05 131325 /lib/x86_64-linux-gnu/libc-2.19.so +7fe197b24000-7fe197b29000 rw-p 00000000 00:00 0 +7fe197b29000-7fe197b36000 r-xp 00000000 08:05 407429 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so +7fe197b36000-7fe197d35000 ---p 0000d000 08:05 407429 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so +7fe197d35000-7fe197d36000 r--p 0000c000 08:05 407429 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so +7fe197d36000-7fe197d37000 rw-p 0000d000 08:05 407429 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so +7fe197d37000-7fe197d5a000 r-xp 00000000 08:05 131322 /lib/x86_64-linux-gnu/ld-2.19.so +7fe197d5b000-7fe197d5c000 rw-p 00000000 00:00 0 +7fe197d5c000-7fe197d65000 r--s 000b9000 08:05 404634 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar +7fe197d65000-7fe197d72000 r--s 000df000 08:05 2939829 /home/mahmoud/git/TeraData_ML_Proj/DBProject/lib/terajdbc4.jar +7fe197d72000-7fe197d73000 r--s 00000000 08:05 2939801 /home/mahmoud/git/TeraData_ML_Proj/DBProject/lib/tdgssconfig.jar +7fe197d73000-7fe197d74000 r--s 00002000 08:05 410829 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/dnsns.jar +7fe197d74000-7fe197d77000 r--s 0000f000 08:05 409656 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/icedtea-sound.jar +7fe197d77000-7fe197d81000 rw-p 00000000 00:00 0 +7fe197d81000-7fe197e37000 rw-p 00000000 00:00 0 +7fe197e37000-7fe197e3a000 ---p 00000000 00:00 0 +7fe197e3a000-7fe197f3d000 rw-p 00000000 00:00 0 [stack:12079] +7fe197f3d000-7fe197f3f000 r--s 00006000 08:05 3428021 /usr/share/java/java-atk-wrapper.jar +7fe197f3f000-7fe197f43000 r--s 00034000 08:05 410828 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunjce_provider.jar +7fe197f43000-7fe197f47000 r--s 0003c000 08:05 409658 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunpkcs11.jar +7fe197f47000-7fe197f49000 r--s 00012000 08:05 409657 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/zipfs.jar +7fe197f49000-7fe197f4d000 r--s 00085000 08:05 410827 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/localedata.jar +7fe197f4d000-7fe197f55000 rw-s 00000000 08:05 1574610 /tmp/hsperfdata_mahmoud/12077 +7fe197f55000-7fe197f56000 rw-p 00000000 00:00 0 +7fe197f56000-7fe197f57000 ---p 00000000 00:00 0 +7fe197f57000-7fe197f59000 rw-p 00000000 00:00 0 +7fe197f59000-7fe197f5a000 r--p 00022000 08:05 131322 /lib/x86_64-linux-gnu/ld-2.19.so +7fe197f5a000-7fe197f5b000 rw-p 00023000 08:05 131322 /lib/x86_64-linux-gnu/ld-2.19.so +7fe197f5b000-7fe197f5c000 rw-p 00000000 00:00 0 +7fff3fccb000-7fff3fcec000 rw-p 00000000 00:00 0 [stack] +7fff3fd2f000-7fff3fd31000 r-xp 00000000 00:00 0 [vdso] +ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] + +VM Arguments: +jvm_args: -Xmx1500M -Dfile.encoding=UTF-8 +java_command: edu.umich.td.controller.StagingPhase +Launcher Type: SUN_STANDARD + +Environment Variables: +PATH=/home/mahmoud/build/Release+Asserts/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games +SHELL=/bin/bash +DISPLAY=:0.0 + +Signal Handlers: +SIGSEGV: [libjvm.so+0x9495e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGBUS: [libjvm.so+0x9495e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGFPE: [libjvm.so+0x7c3410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGPIPE: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000 +SIGXFSZ: [libjvm.so+0x7c3410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGILL: [libjvm.so+0x7c3410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 +SIGUSR2: [libjvm.so+0x7c32b0], sa_mask[0]=0x00000004, sa_flags=0x10000004 +SIGHUP: [libjvm.so+0x7c3490], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGINT: [libjvm.so+0x7c3490], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGTERM: [libjvm.so+0x7c3490], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGQUIT: [libjvm.so+0x7c3490], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGTRAP: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 + + +--------------- S Y S T E M --------------- + +OS:Ubuntu 14.04 (trusty) +uname:Linux 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 +libc:glibc 2.19 NPTL 2.19 +rlimit: STACK 8192k, CORE 0k, NPROC 30761, NOFILE 4096, AS infinity +load average:0.17 0.22 0.20 + +/proc/meminfo: +MemTotal: 3959052 kB +MemFree: 113984 kB +Buffers: 5776 kB +Cached: 820004 kB +SwapCached: 0 kB +Active: 2894004 kB +Inactive: 757132 kB +Active(anon): 2828244 kB +Inactive(anon): 707336 kB +Active(file): 65760 kB +Inactive(file): 49796 kB +Unevictable: 1684 kB +Mlocked: 1684 kB +SwapTotal: 0 kB +SwapFree: 0 kB +Dirty: 132 kB +Writeback: 0 kB +AnonPages: 2827340 kB +Mapped: 259412 kB +Shmem: 709936 kB +Slab: 63388 kB +SReclaimable: 27016 kB +SUnreclaim: 36372 kB +KernelStack: 5312 kB +PageTables: 49476 kB +NFS_Unstable: 0 kB +Bounce: 0 kB +WritebackTmp: 0 kB +CommitLimit: 1979524 kB +Committed_AS: 8589008 kB +VmallocTotal: 34359738367 kB +VmallocUsed: 353160 kB +VmallocChunk: 34359376596 kB +HardwareCorrupted: 0 kB +AnonHugePages: 942080 kB +HugePages_Total: 0 +HugePages_Free: 0 +HugePages_Rsvd: 0 +HugePages_Surp: 0 +Hugepagesize: 2048 kB +DirectMap4k: 76884 kB +DirectMap2M: 2979840 kB +DirectMap1G: 1048576 kB + + +CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 69 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, erms, ht, tsc, tscinvbit + +/proc/cpuinfo: +processor : 0 +vendor_id : GenuineIntel +cpu family : 6 +model : 69 +model name : Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz +stepping : 1 +microcode : 0x1c +cpu MHz : 768.000 +cache size : 3072 KB +physical id : 0 +siblings : 4 +core id : 0 +cpu cores : 2 +apicid : 0 +initial apicid : 0 +fpu : yes +fpu_exception : yes +cpuid level : 13 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid +bogomips : 4788.88 +clflush size : 64 +cache_alignment : 64 +address sizes : 39 bits physical, 48 bits virtual +power management: + +processor : 1 +vendor_id : GenuineIntel +cpu family : 6 +model : 69 +model name : Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz +stepping : 1 +microcode : 0x1c +cpu MHz : 768.000 +cache size : 3072 KB +physical id : 0 +siblings : 4 +core id : 1 +cpu cores : 2 +apicid : 2 +initial apicid : 2 +fpu : yes +fpu_exception : yes +cpuid level : 13 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid +bogomips : 4788.88 +clflush size : 64 +cache_alignment : 64 +address sizes : 39 bits physical, 48 bits virtual +power management: + +processor : 2 +vendor_id : GenuineIntel +cpu family : 6 +model : 69 +model name : Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz +stepping : 1 +microcode : 0x1c +cpu MHz : 768.000 +cache size : 3072 KB +physical id : 0 +siblings : 4 +core id : 0 +cpu cores : 2 +apicid : 1 +initial apicid : 1 +fpu : yes +fpu_exception : yes +cpuid level : 13 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid +bogomips : 4788.88 +clflush size : 64 +cache_alignment : 64 +address sizes : 39 bits physical, 48 bits virtual +power management: + +processor : 3 +vendor_id : GenuineIntel +cpu family : 6 +model : 69 +model name : Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz +stepping : 1 +microcode : 0x1c +cpu MHz : 1700.000 +cache size : 3072 KB +physical id : 0 +siblings : 4 +core id : 1 +cpu cores : 2 +apicid : 3 +initial apicid : 3 +fpu : yes +fpu_exception : yes +cpuid level : 13 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid +bogomips : 4788.88 +clflush size : 64 +cache_alignment : 64 +address sizes : 39 bits physical, 48 bits virtual +power management: + + + +Memory: 4k page, physical 3959052k(113984k free), swap 0k(0k free) + +vm_info: OpenJDK 64-Bit Server VM (24.65-b04) for linux-amd64 JRE (1.7.0_65-b32), built on Oct 22 2014 04:37:44 by "buildd" with gcc 4.8.2 + +time: Sun Dec 7 03:15:00 2014 +elapsed time: 1308 seconds + diff --git a/DBProject/hs_err_pid3413.log b/DBProject/hs_err_pid3413.log new file mode 100644 index 0000000..813852b --- /dev/null +++ b/DBProject/hs_err_pid3413.log @@ -0,0 +1,749 @@ +# +# There is insufficient memory for the Java Runtime Environment to continue. +# Native memory allocation (malloc) failed to allocate 114294784 bytes for committing reserved memory. +# Possible reasons: +# The system is out of physical RAM or swap space +# In 32 bit mode, the process size limit was hit +# Possible solutions: +# Reduce memory load on the system +# Increase physical memory or swap space +# Check if swap backing store is full +# Use 64 bit Java on a 64 bit OS +# Decrease Java heap size (-Xmx/-Xms) +# Decrease number of Java threads +# Decrease Java thread stack sizes (-Xss) +# Set larger code cache with -XX:ReservedCodeCacheSize= +# This output file may be truncated or incomplete. +# +# Out of Memory Error (os_linux.cpp:2798), pid=3413, tid=139663154063104 +# +# JRE version: OpenJDK Runtime Environment (7.0_65-b32) (build 1.7.0_65-b32) +# Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops) +# Derivative: IcedTea 2.5.3 +# Distribution: Ubuntu 14.04 LTS, package 7u71-2.5.3-0ubuntu0.14.04.1 +# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again +# + +--------------- T H R E A D --------------- + +Current thread (0x00007f05e0078000): VMThread [stack: 0x00007f05dc9fa000,0x00007f05dcafb000] [id=3425] + +Stack: [0x00007f05dc9fa000,0x00007f05dcafb000], sp=0x00007f05dcaf9490, free space=1021k +Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) +V [libjvm.so+0x948b05] VMError::report_and_die()+0x175 +V [libjvm.so+0x48bc34] report_vm_out_of_memory(char const*, int, unsigned long, char const*)+0x74 +V [libjvm.so+0x7c7bfb] os::pd_commit_memory(char*, unsigned long, unsigned long, bool)+0xeb +V [libjvm.so+0x7c26bf] os::commit_memory(char*, unsigned long, unsigned long, bool)+0x1f +V [libjvm.so+0x833e4b] PSVirtualSpace::expand_by(unsigned long)+0x5b +V [libjvm.so+0x834ca0] PSYoungGen::resize_generation(unsigned long, unsigned long)+0xb0 +V [libjvm.so+0x83538b] PSYoungGen::resize(unsigned long, unsigned long)+0x1b +V [libjvm.so+0x831670] PSScavenge::invoke_no_policy()+0xde0 +V [libjvm.so+0x831e48] PSScavenge::invoke()+0x38 +V [libjvm.so+0x7e8823] ParallelScavengeHeap::failed_mem_allocate(unsigned long)+0x63 +V [libjvm.so+0x94a504] VM_ParallelGCFailedAllocation::doit()+0x84 +V [libjvm.so+0x94e9f7] VM_Operation::evaluate()+0x47 +V [libjvm.so+0x94d368] VMThread::evaluate_operation(VM_Operation*)+0x318 +V [libjvm.so+0x94d7c9] VMThread::loop()+0x219 +V [libjvm.so+0x94dc12] VMThread::run()+0x72 +V [libjvm.so+0x7c4ac2] java_start(Thread*)+0xf2 + +VM_Operation (0x00007f05e97d2660): ParallelGCFailedAllocation, mode: safepoint, requested by thread 0x00007f05e000c800 + + +--------------- P R O C E S S --------------- + +Java Threads: ( => current thread ) + 0x00007f05e0343800 JavaThread "process reaper" daemon [_thread_blocked, id=3454, stack(0x00007f05dc084000,0x00007f05dc0bd000)] + 0x00007f05e00c2800 JavaThread "Service Thread" daemon [_thread_blocked, id=3440, stack(0x00007f05d5a8e000,0x00007f05d5b8f000)] + 0x00007f05e00c0000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=3439, stack(0x00007f05d5b8f000,0x00007f05d5c90000)] + 0x00007f05e00bd000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=3438, stack(0x00007f05dc0ee000,0x00007f05dc1ef000)] + 0x00007f05b4001000 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=3435, stack(0x00007f05dc1ef000,0x00007f05dc2f0000)] + 0x00007f05e00bb000 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=3433, stack(0x00007f05dc2f0000,0x00007f05dc3f1000)] + 0x00007f05e00b7800 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=3431, stack(0x00007f05dc3f1000,0x00007f05dc4f2000)] + 0x00007f05e00aa800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3429, stack(0x00007f05dc6f7000,0x00007f05dc7f8000)] + 0x00007f05e007e000 JavaThread "Finalizer" daemon [_thread_blocked, id=3427, stack(0x00007f05dc7f8000,0x00007f05dc8f9000)] + 0x00007f05e007c000 JavaThread "Reference Handler" daemon [_thread_blocked, id=3426, stack(0x00007f05dc8f9000,0x00007f05dc9fa000)] + 0x00007f05e000c800 JavaThread "main" [_thread_blocked, id=3420, stack(0x00007f05e96d3000,0x00007f05e97d4000)] + +Other Threads: +=>0x00007f05e0078000 VMThread [stack: 0x00007f05dc9fa000,0x00007f05dcafb000] [id=3425] + 0x00007f05e00cd000 WatcherThread [stack: 0x00007f05d598d000,0x00007f05d5a8e000] [id=3441] + +VM state:at safepoint (normal execution) + +VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) +[0x00007f05e0008b30] Threads_lock - owner thread: 0x00007f05e0078000 +[0x00007f05e0009030] Heap_lock - owner thread: 0x00007f05e000c800 + +Heap + PSYoungGen total 209408K, used 8704K [0x00000000ebd00000, 0x00000000f9300000, 0x0000000100000000) + eden space 200704K, 0% used [0x00000000ebd00000,0x00000000ebd00000,0x00000000f8100000) + from space 8704K, 100% used [0x00000000f8100000,0x00000000f8980000,0x00000000f8980000) + to space 7680K, 0% used [0x00000000f8980000,0x00000000f8980000,0x00000000f9100000) + ParOldGen total 40960K, used 20974K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 51% used [0x00000000c3800000,0x00000000c4c7b858,0x00000000c6000000) + PSPermGen total 21504K, used 9769K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 45% used [0x00000000b9200000,0x00000000b9b8a4a0,0x00000000ba700000) + +Card table byte_map: [0x00007f05e55bf000,0x00007f05e57f7000] byte_map_base: 0x00007f05e4ff6000 + +Polling page: 0x00007f05e97f2000 + +Code Cache [0x00007f05dd000000, 0x00007f05dd270000, 0x00007f05e0000000) + total_blobs=561 nmethods=265 adapters=257 free_code_cache=47800Kb largest_free_block=48879680 + +Compilation events (10 events): +Event: 32.325 Thread 0x00007f05e00c0000 nmethod 266 0x00007f05dd14aa10 code [0x00007f05dd14b020, 0x00007f05dd14e4f0] +Event: 32.325 Thread 0x00007f05e00c0000 267 com.sun.org.apache.xerces.internal.util.XMLAttributesImpl::addAttribute (623 bytes) +Event: 32.386 Thread 0x00007f05e00c0000 nmethod 267 0x00007f05dd12d850 code [0x00007f05dd12db60, 0x00007f05dd12fb10] +Event: 32.420 Thread 0x00007f05e00bd000 nmethod 265 0x00007f05dd157650 code [0x00007f05dd1583c0, 0x00007f05dd15d728] +Event: 32.732 Thread 0x00007f05e00c0000 268 java.util.HashMap::getEntry (86 bytes) +Event: 32.733 Thread 0x00007f05e00bd000 269 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl::scanDocument (272 bytes) +Event: 32.735 Thread 0x00007f05e00c0000 nmethod 268 0x00007f05dd0bcb10 code [0x00007f05dd0bcc80, 0x00007f05dd0bcec8] +Event: 32.744 Thread 0x00007f05e00bd000 nmethod 269 0x00007f05dd125550 code [0x00007f05dd125760, 0x00007f05dd125e00] +Event: 33.217 Thread 0x00007f05e00c0000 270 sun.nio.cs.US_ASCII$Encoder::encode (107 bytes) +Event: 33.221 Thread 0x00007f05e00c0000 nmethod 270 0x00007f05dd124d10 code [0x00007f05dd124e80, 0x00007f05dd125278] + +GC Heap History (10 events): +Event: 2.049 GC heap after +Heap after GC invocations=6 (full 0): + PSYoungGen total 68096K, used 3952K [0x00000000ebd00000, 0x00000000f0400000, 0x0000000100000000) + eden space 63488K, 0% used [0x00000000ebd00000,0x00000000ebd00000,0x00000000efb00000) + from space 4608K, 85% used [0x00000000eff80000,0x00000000f035c030,0x00000000f0400000) + to space 4608K, 0% used [0x00000000efb00000,0x00000000efb00000,0x00000000eff80000) + ParOldGen total 40960K, used 3519K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 8% used [0x00000000c3800000,0x00000000c3b6fe70,0x00000000c6000000) + PSPermGen total 21504K, used 9215K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 42% used [0x00000000b9200000,0x00000000b9affd50,0x00000000ba700000) +} +Event: 2.157 GC heap before +{Heap before GC invocations=7 (full 0): + PSYoungGen total 68096K, used 67440K [0x00000000ebd00000, 0x00000000f0400000, 0x0000000100000000) + eden space 63488K, 100% used [0x00000000ebd00000,0x00000000efb00000,0x00000000efb00000) + from space 4608K, 85% used [0x00000000eff80000,0x00000000f035c030,0x00000000f0400000) + to space 4608K, 0% used [0x00000000efb00000,0x00000000efb00000,0x00000000eff80000) + ParOldGen total 40960K, used 3519K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 8% used [0x00000000c3800000,0x00000000c3b6fe70,0x00000000c6000000) + PSPermGen total 21504K, used 9230K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 42% used [0x00000000b9200000,0x00000000b9b03bc8,0x00000000ba700000) +Event: 2.163 GC heap after +Heap after GC invocations=7 (full 0): + PSYoungGen total 68096K, used 4608K [0x00000000ebd00000, 0x00000000f4500000, 0x0000000100000000) + eden space 63488K, 0% used [0x00000000ebd00000,0x00000000ebd00000,0x00000000efb00000) + from space 4608K, 100% used [0x00000000efb00000,0x00000000eff80000,0x00000000eff80000) + to space 6144K, 0% used [0x00000000f3f00000,0x00000000f3f00000,0x00000000f4500000) + ParOldGen total 40960K, used 5233K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 12% used [0x00000000c3800000,0x00000000c3d1c5d0,0x00000000c6000000) + PSPermGen total 21504K, used 9230K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 42% used [0x00000000b9200000,0x00000000b9b03bc8,0x00000000ba700000) +} +Event: 2.232 GC heap before +{Heap before GC invocations=8 (full 0): + PSYoungGen total 68096K, used 68096K [0x00000000ebd00000, 0x00000000f4500000, 0x0000000100000000) + eden space 63488K, 100% used [0x00000000ebd00000,0x00000000efb00000,0x00000000efb00000) + from space 4608K, 100% used [0x00000000efb00000,0x00000000eff80000,0x00000000eff80000) + to space 6144K, 0% used [0x00000000f3f00000,0x00000000f3f00000,0x00000000f4500000) + ParOldGen total 40960K, used 5233K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 12% used [0x00000000c3800000,0x00000000c3d1c5d0,0x00000000c6000000) + PSPermGen total 21504K, used 9249K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 43% used [0x00000000b9200000,0x00000000b9b08790,0x00000000ba700000) +Event: 2.237 GC heap after +Heap after GC invocations=8 (full 0): + PSYoungGen total 132096K, used 6144K [0x00000000ebd00000, 0x00000000f4700000, 0x0000000100000000) + eden space 125952K, 0% used [0x00000000ebd00000,0x00000000ebd00000,0x00000000f3800000) + from space 6144K, 100% used [0x00000000f3f00000,0x00000000f4500000,0x00000000f4500000) + to space 7168K, 0% used [0x00000000f3800000,0x00000000f3800000,0x00000000f3f00000) + ParOldGen total 40960K, used 6257K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 15% used [0x00000000c3800000,0x00000000c3e1c5d0,0x00000000c6000000) + PSPermGen total 21504K, used 9249K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 43% used [0x00000000b9200000,0x00000000b9b08790,0x00000000ba700000) +} +Event: 13.445 GC heap before +{Heap before GC invocations=9 (full 0): + PSYoungGen total 132096K, used 132096K [0x00000000ebd00000, 0x00000000f4700000, 0x0000000100000000) + eden space 125952K, 100% used [0x00000000ebd00000,0x00000000f3800000,0x00000000f3800000) + from space 6144K, 100% used [0x00000000f3f00000,0x00000000f4500000,0x00000000f4500000) + to space 7168K, 0% used [0x00000000f3800000,0x00000000f3800000,0x00000000f3f00000) + ParOldGen total 40960K, used 6257K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 15% used [0x00000000c3800000,0x00000000c3e1c5d0,0x00000000c6000000) + PSPermGen total 21504K, used 9707K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 45% used [0x00000000b9200000,0x00000000b9b7ac28,0x00000000ba700000) +Event: 13.450 GC heap after +Heap after GC invocations=9 (full 0): + PSYoungGen total 133120K, used 6325K [0x00000000ebd00000, 0x00000000f9100000, 0x0000000100000000) + eden space 125952K, 0% used [0x00000000ebd00000,0x00000000ebd00000,0x00000000f3800000) + from space 7168K, 88% used [0x00000000f3800000,0x00000000f3e2d540,0x00000000f3f00000) + to space 7680K, 0% used [0x00000000f8980000,0x00000000f8980000,0x00000000f9100000) + ParOldGen total 40960K, used 8145K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 19% used [0x00000000c3800000,0x00000000c3ff45d0,0x00000000c6000000) + PSPermGen total 21504K, used 9707K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 45% used [0x00000000b9200000,0x00000000b9b7ac28,0x00000000ba700000) +} +Event: 19.622 GC heap before +{Heap before GC invocations=10 (full 0): + PSYoungGen total 133120K, used 132277K [0x00000000ebd00000, 0x00000000f9100000, 0x0000000100000000) + eden space 125952K, 100% used [0x00000000ebd00000,0x00000000f3800000,0x00000000f3800000) + from space 7168K, 88% used [0x00000000f3800000,0x00000000f3e2d540,0x00000000f3f00000) + to space 7680K, 0% used [0x00000000f8980000,0x00000000f8980000,0x00000000f9100000) + ParOldGen total 40960K, used 8145K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 19% used [0x00000000c3800000,0x00000000c3ff45d0,0x00000000c6000000) + PSPermGen total 21504K, used 9749K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 45% used [0x00000000b9200000,0x00000000b9b85700,0x00000000ba700000) +Event: 19.644 GC heap after +Heap after GC invocations=10 (full 0): + PSYoungGen total 208384K, used 7043K [0x00000000ebd00000, 0x00000000f9300000, 0x0000000100000000) + eden space 200704K, 0% used [0x00000000ebd00000,0x00000000ebd00000,0x00000000f8100000) + from space 7680K, 91% used [0x00000000f8980000,0x00000000f9060f18,0x00000000f9100000) + to space 8704K, 0% used [0x00000000f8100000,0x00000000f8100000,0x00000000f8980000) + ParOldGen total 40960K, used 12632K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 30% used [0x00000000c3800000,0x00000000c44562d0,0x00000000c6000000) + PSPermGen total 21504K, used 9749K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 45% used [0x00000000b9200000,0x00000000b9b85700,0x00000000ba700000) +} +Event: 33.728 GC heap before +{Heap before GC invocations=11 (full 0): + PSYoungGen total 208384K, used 207747K [0x00000000ebd00000, 0x00000000f9300000, 0x0000000100000000) + eden space 200704K, 100% used [0x00000000ebd00000,0x00000000f8100000,0x00000000f8100000) + from space 7680K, 91% used [0x00000000f8980000,0x00000000f9060f18,0x00000000f9100000) + to space 8704K, 0% used [0x00000000f8100000,0x00000000f8100000,0x00000000f8980000) + ParOldGen total 40960K, used 12632K [0x00000000c3800000, 0x00000000c6000000, 0x00000000ebd00000) + object space 40960K, 30% used [0x00000000c3800000,0x00000000c44562d0,0x00000000c6000000) + PSPermGen total 21504K, used 9769K [0x00000000b9200000, 0x00000000ba700000, 0x00000000c3800000) + object space 21504K, 45% used [0x00000000b9200000,0x00000000b9b8a4a0,0x00000000ba700000) + +Deoptimization events (10 events): +Event: 5.380 Thread 0x00007f05e000c800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007f05dd0a4260 method=java.lang.ThreadLocal.get()Ljava/lang/Object; @ 6 +Event: 5.380 Thread 0x00007f05e000c800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007f05dd0a4260 method=java.lang.ThreadLocal.get()Ljava/lang/Object; @ 6 +Event: 5.380 Thread 0x00007f05e000c800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007f05dd0a4260 method=java.lang.ThreadLocal.get()Ljava/lang/Object; @ 6 +Event: 6.167 Thread 0x00007f05e000c800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007f05dd0b2f00 method=sun.nio.cs.StreamDecoder.readBytes()I @ 135 +Event: 6.192 Thread 0x00007f05e000c800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007f05dd0b2f00 method=sun.nio.cs.StreamDecoder.readBytes()I @ 135 +Event: 13.453 Thread 0x00007f05e007e000 Uncommon trap: reason=unreached action=reinterpret pc=0x00007f05dd0b17dc method=java.lang.ThreadLocal$ThreadLocalMap.set(Ljava/lang/ThreadLocal;Ljava/lang/Object;)V @ 28 +Event: 17.033 Thread 0x00007f05e000c800 Uncommon trap: reason=array_check action=maybe_recompile pc=0x00007f05dd11219c method=java.util.AbstractCollection.toArray([Ljava/lang/Object;)[Ljava/lang/Object; @ 119 +Event: 17.033 Thread 0x00007f05e000c800 Uncommon trap: reason=array_check action=maybe_recompile pc=0x00007f05dd11219c method=java.util.AbstractCollection.toArray([Ljava/lang/Object;)[Ljava/lang/Object; @ 119 +Event: 17.033 Thread 0x00007f05e000c800 Uncommon trap: reason=array_check action=maybe_recompile pc=0x00007f05dd11219c method=java.util.AbstractCollection.toArray([Ljava/lang/Object;)[Ljava/lang/Object; @ 119 +Event: 17.033 Thread 0x00007f05e000c800 Uncommon trap: reason=array_check action=maybe_recompile pc=0x00007f05dd11219c method=java.util.AbstractCollection.toArray([Ljava/lang/Object;)[Ljava/lang/Object; @ 119 + +Internal exceptions (10 events): +Event: 1.775 Thread 0x00007f05e000c800 Threw 0x00000000ecc11988 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 1.815 Thread 0x00007f05e000c800 Threw 0x00000000ebdd4438 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 2.261 Thread 0x00007f05e000c800 Threw 0x00000000ed001618 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 2.510 Thread 0x00007f05e000c800 Implicit null exception at 0x00007f05dd08c481 to 0x00007f05dd08cfa5 +Event: 2.834 Thread 0x00007f05e000c800 Threw 0x00000000ed05bee0 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 5.157 Thread 0x00007f05e000c800 Threw 0x00000000ed060d80 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 5.159 Thread 0x00007f05e000c800 Threw 0x00000000ed0652e8 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 5.194 Thread 0x00007f05e000c800 Threw 0x00000000ed1d74a8 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 +Event: 13.453 Thread 0x00007f05e007e000 Implicit null exception at 0x00007f05dd0b159b to 0x00007f05dd0b179d +Event: 16.907 Thread 0x00007f05e000c800 Threw 0x00000000efec5ef0 at /build/buildd/openjdk-7-7u71-2.5.3/build/openjdk/hotspot/src/share/vm/prims/jvm.cpp:1284 + +Events (10 events): +Event: 32.742 Thread 0x00007f05e000c800 DEOPT UNPACKING pc=0x00007f05dd03920f sp=0x00007f05e97d21b0 mode 1 +Event: 33.216 Executing VM operation: RevokeBias +Event: 33.216 Executing VM operation: RevokeBias done +Event: 33.216 Executing VM operation: RevokeBias +Event: 33.216 Executing VM operation: RevokeBias done +Event: 33.216 Executing VM operation: RevokeBias +Event: 33.216 Executing VM operation: RevokeBias done +Event: 33.385 Thread 0x00007f05e000c800 DEOPT PACKING pc=0x00007f05dd0ca498 sp=0x00007f05e97d24b0 +Event: 33.385 Thread 0x00007f05e000c800 DEOPT UNPACKING pc=0x00007f05dd03920f sp=0x00007f05e97d21f0 mode 1 +Event: 33.534 Executing VM operation: ParallelGCFailedAllocation + + +Dynamic libraries: +00400000-00401000 r-xp 00000000 08:05 412325 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java +00600000-00601000 r--p 00000000 08:05 412325 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java +00601000-00602000 rw-p 00001000 08:05 412325 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java +00fbf000-00fe0000 rw-p 00000000 00:00 0 [heap] +b9200000-ba700000 rw-p 00000000 00:00 0 +ba700000-c3800000 rw-p 00000000 00:00 0 +c3800000-c6000000 rw-p 00000000 00:00 0 +c6000000-ebd00000 rw-p 00000000 00:00 0 +ebd00000-f9300000 rw-p 00000000 00:00 0 +7f0590000000-7f0590026000 rw-p 00000000 00:00 0 +7f0590026000-7f0594000000 ---p 00000000 00:00 0 +7f0598000000-7f0598021000 rw-p 00000000 00:00 0 +7f0598021000-7f059c000000 ---p 00000000 00:00 0 +7f059c000000-7f059c021000 rw-p 00000000 00:00 0 +7f059c021000-7f05a0000000 ---p 00000000 00:00 0 +7f05a0000000-7f05a0b3e000 rw-p 00000000 00:00 0 +7f05a0b3e000-7f05a4000000 ---p 00000000 00:00 0 +7f05a4000000-7f05a538f000 rw-p 00000000 00:00 0 +7f05a538f000-7f05a8000000 ---p 00000000 00:00 0 +7f05a8000000-7f05a8021000 rw-p 00000000 00:00 0 +7f05a8021000-7f05ac000000 ---p 00000000 00:00 0 +7f05ac000000-7f05ac021000 rw-p 00000000 00:00 0 +7f05ac021000-7f05b0000000 ---p 00000000 00:00 0 +7f05b0000000-7f05b0021000 rw-p 00000000 00:00 0 +7f05b0021000-7f05b4000000 ---p 00000000 00:00 0 +7f05b4000000-7f05b4026000 rw-p 00000000 00:00 0 +7f05b4026000-7f05b8000000 ---p 00000000 00:00 0 +7f05b8000000-7f05b8021000 rw-p 00000000 00:00 0 +7f05b8021000-7f05bc000000 ---p 00000000 00:00 0 +7f05bc000000-7f05bc021000 rw-p 00000000 00:00 0 +7f05bc021000-7f05c0000000 ---p 00000000 00:00 0 +7f05c0000000-7f05c0021000 rw-p 00000000 00:00 0 +7f05c0021000-7f05c4000000 ---p 00000000 00:00 0 +7f05c4000000-7f05c423f000 rw-p 00000000 00:00 0 +7f05c423f000-7f05c8000000 ---p 00000000 00:00 0 +7f05c8000000-7f05c8021000 rw-p 00000000 00:00 0 +7f05c8021000-7f05cc000000 ---p 00000000 00:00 0 +7f05ce5bc000-7f05ce5c4000 r-xp 00000000 08:05 407448 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libmanagement.so +7f05ce5c4000-7f05ce7c3000 ---p 00008000 08:05 407448 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libmanagement.so +7f05ce7c3000-7f05ce7c4000 r--p 00007000 08:05 407448 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libmanagement.so +7f05ce7c4000-7f05ce7c5000 rw-p 00008000 08:05 407448 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libmanagement.so +7f05ce7c5000-7f05ce7c8000 ---p 00000000 00:00 0 +7f05ce7c8000-7f05ce8c6000 rw-p 00000000 00:00 0 +7f05ce8c6000-7f05ce8cb000 r-xp 00000000 08:05 131312 /lib/x86_64-linux-gnu/libnss_dns-2.19.so +7f05ce8cb000-7f05ceaca000 ---p 00005000 08:05 131312 /lib/x86_64-linux-gnu/libnss_dns-2.19.so +7f05ceaca000-7f05ceacb000 r--p 00004000 08:05 131312 /lib/x86_64-linux-gnu/libnss_dns-2.19.so +7f05ceacb000-7f05ceacc000 rw-p 00005000 08:05 131312 /lib/x86_64-linux-gnu/libnss_dns-2.19.so +7f05ceacc000-7f05ceace000 r-xp 00000000 08:05 135238 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 +7f05ceace000-7f05ceccd000 ---p 00002000 08:05 135238 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 +7f05ceccd000-7f05cecce000 r--p 00001000 08:05 135238 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 +7f05cecce000-7f05ceccf000 rw-p 00002000 08:05 135238 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 +7f05ceccf000-7f05ced47000 r-xp 00000000 08:05 3295924 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so +7f05ced47000-7f05cef47000 ---p 00078000 08:05 3295924 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so +7f05cef47000-7f05cef49000 r--p 00078000 08:05 3295924 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so +7f05cef49000-7f05cef4a000 rw-p 0007a000 08:05 3295924 /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so +7f05cef4a000-7f05cef4e000 rw-p 00000000 00:00 0 +7f05cef4e000-7f05cf002000 r-xp 00000000 08:05 3024716 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 +7f05cf002000-7f05cf202000 ---p 000b4000 08:05 3024716 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 +7f05cf202000-7f05cf204000 r--p 000b4000 08:05 3024716 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 +7f05cf204000-7f05cf206000 rw-p 000b6000 08:05 3024716 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 +7f05cf206000-7f05cf207000 rw-p 00000000 00:00 0 +7f05cf207000-7f05cf247000 r-xp 00000000 08:05 3295928 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so +7f05cf247000-7f05cf447000 ---p 00040000 08:05 3295928 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so +7f05cf447000-7f05cf448000 r--p 00040000 08:05 3295928 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so +7f05cf448000-7f05cf449000 rw-p 00041000 08:05 3295928 /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so +7f05cf449000-7f05cf481000 r-xp 00000000 08:05 3016688 /usr/lib/x86_64-linux-gnu/libnspr4.so +7f05cf481000-7f05cf681000 ---p 00038000 08:05 3016688 /usr/lib/x86_64-linux-gnu/libnspr4.so +7f05cf681000-7f05cf682000 r--p 00038000 08:05 3016688 /usr/lib/x86_64-linux-gnu/libnspr4.so +7f05cf682000-7f05cf683000 rw-p 00039000 08:05 3016688 /usr/lib/x86_64-linux-gnu/libnspr4.so +7f05cf683000-7f05cf686000 rw-p 00000000 00:00 0 +7f05cf686000-7f05cf689000 r-xp 00000000 08:05 3015889 /usr/lib/x86_64-linux-gnu/libplds4.so +7f05cf689000-7f05cf888000 ---p 00003000 08:05 3015889 /usr/lib/x86_64-linux-gnu/libplds4.so +7f05cf888000-7f05cf889000 r--p 00002000 08:05 3015889 /usr/lib/x86_64-linux-gnu/libplds4.so +7f05cf889000-7f05cf88a000 rw-p 00003000 08:05 3015889 /usr/lib/x86_64-linux-gnu/libplds4.so +7f05cf88a000-7f05cf8af000 r-xp 00000000 08:05 3016689 /usr/lib/x86_64-linux-gnu/libnssutil3.so +7f05cf8af000-7f05cfaae000 ---p 00025000 08:05 3016689 /usr/lib/x86_64-linux-gnu/libnssutil3.so +7f05cfaae000-7f05cfab4000 r--p 00024000 08:05 3016689 /usr/lib/x86_64-linux-gnu/libnssutil3.so +7f05cfab4000-7f05cfab5000 rw-p 0002a000 08:05 3016689 /usr/lib/x86_64-linux-gnu/libnssutil3.so +7f05cfab5000-7f05cfbe8000 r-xp 00000000 08:05 3016692 /usr/lib/x86_64-linux-gnu/libnss3.so +7f05cfbe8000-7f05cfde7000 ---p 00133000 08:05 3016692 /usr/lib/x86_64-linux-gnu/libnss3.so +7f05cfde7000-7f05cfdec000 r--p 00132000 08:05 3016692 /usr/lib/x86_64-linux-gnu/libnss3.so +7f05cfdec000-7f05cfdee000 rw-p 00137000 08:05 3016692 /usr/lib/x86_64-linux-gnu/libnss3.so +7f05cfdee000-7f05cfdef000 rw-p 00000000 00:00 0 +7f05cfdef000-7f05cfdff000 r-xp 00000000 08:05 407443 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so +7f05cfdff000-7f05cfffe000 ---p 00010000 08:05 407443 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so +7f05cfffe000-7f05cffff000 r--p 0000f000 08:05 407443 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so +7f05cffff000-7f05d0000000 rw-p 00010000 08:05 407443 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libj2pkcs11.so +7f05d0000000-7f05d0021000 rw-p 00000000 00:00 0 +7f05d0021000-7f05d4000000 ---p 00000000 00:00 0 +7f05d400a000-7f05d400e000 r-xp 00000000 08:05 3016106 /usr/lib/x86_64-linux-gnu/libplc4.so +7f05d400e000-7f05d420d000 ---p 00004000 08:05 3016106 /usr/lib/x86_64-linux-gnu/libplc4.so +7f05d420d000-7f05d420e000 r--p 00003000 08:05 3016106 /usr/lib/x86_64-linux-gnu/libplc4.so +7f05d420e000-7f05d420f000 rw-p 00004000 08:05 3016106 /usr/lib/x86_64-linux-gnu/libplc4.so +7f05d420f000-7f05d424c000 r-xp 00000000 08:05 135260 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 +7f05d424c000-7f05d444b000 ---p 0003d000 08:05 135260 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 +7f05d444b000-7f05d444c000 r--p 0003c000 08:05 135260 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 +7f05d444c000-7f05d444d000 rw-p 0003d000 08:05 135260 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 +7f05d444d000-7f05d4454000 r-xp 00000000 08:05 3024098 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 +7f05d4454000-7f05d4653000 ---p 00007000 08:05 3024098 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 +7f05d4653000-7f05d4654000 r--p 00006000 08:05 3024098 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 +7f05d4654000-7f05d4655000 rw-p 00007000 08:05 3024098 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1 +7f05d4655000-7f05d466c000 r-xp 00000000 08:05 131262 /lib/x86_64-linux-gnu/libresolv-2.19.so +7f05d466c000-7f05d486c000 ---p 00017000 08:05 131262 /lib/x86_64-linux-gnu/libresolv-2.19.so +7f05d486c000-7f05d486d000 r--p 00017000 08:05 131262 /lib/x86_64-linux-gnu/libresolv-2.19.so +7f05d486d000-7f05d486e000 rw-p 00018000 08:05 131262 /lib/x86_64-linux-gnu/libresolv-2.19.so +7f05d486e000-7f05d4870000 rw-p 00000000 00:00 0 +7f05d4870000-7f05d4890000 r-xp 00000000 08:05 135287 /lib/x86_64-linux-gnu/libselinux.so.1 +7f05d4890000-7f05d4a8f000 ---p 00020000 08:05 135287 /lib/x86_64-linux-gnu/libselinux.so.1 +7f05d4a8f000-7f05d4a90000 r--p 0001f000 08:05 135287 /lib/x86_64-linux-gnu/libselinux.so.1 +7f05d4a90000-7f05d4a91000 rw-p 00020000 08:05 135287 /lib/x86_64-linux-gnu/libselinux.so.1 +7f05d4a91000-7f05d4a93000 rw-p 00000000 00:00 0 +7f05d4a93000-7f05d4a96000 r-xp 00000000 08:05 3015020 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0 +7f05d4a96000-7f05d4c95000 ---p 00003000 08:05 3015020 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0 +7f05d4c95000-7f05d4c96000 r--p 00002000 08:05 3015020 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0 +7f05d4c96000-7f05d4c97000 rw-p 00003000 08:05 3015020 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4002.0 +7f05d4c97000-7f05d4d9d000 r-xp 00000000 08:05 136560 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0 +7f05d4d9d000-7f05d4f9c000 ---p 00106000 08:05 136560 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0 +7f05d4f9c000-7f05d4f9d000 r--p 00105000 08:05 136560 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0 +7f05d4f9d000-7f05d4f9e000 rw-p 00106000 08:05 136560 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0 +7f05d4f9e000-7f05d4f9f000 rw-p 00000000 00:00 0 +7f05d4f9f000-7f05d4fee000 r-xp 00000000 08:05 3015038 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0 +7f05d4fee000-7f05d51ee000 ---p 0004f000 08:05 3015038 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0 +7f05d51ee000-7f05d51ef000 r--p 0004f000 08:05 3015038 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0 +7f05d51ef000-7f05d51f0000 rw-p 00050000 08:05 3015038 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0 +7f05d51f0000-7f05d535c000 r-xp 00000000 08:05 3015042 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0 +7f05d535c000-7f05d555b000 ---p 0016c000 08:05 3015042 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0 +7f05d555b000-7f05d555f000 r--p 0016b000 08:05 3015042 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0 +7f05d555f000-7f05d5561000 rw-p 0016f000 08:05 3015042 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0 +7f05d5561000-7f05d5563000 rw-p 00000000 00:00 0 +7f05d5563000-7f05d557a000 r-xp 00000000 08:05 407432 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so +7f05d557a000-7f05d5779000 ---p 00017000 08:05 407432 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so +7f05d5779000-7f05d577a000 r--p 00016000 08:05 407432 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so +7f05d577a000-7f05d577b000 rw-p 00017000 08:05 407432 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so +7f05d577b000-7f05d578b000 r-xp 00000000 08:05 407447 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so +7f05d578b000-7f05d598b000 ---p 00010000 08:05 407447 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so +7f05d598b000-7f05d598c000 r--p 00010000 08:05 407447 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so +7f05d598c000-7f05d598d000 rw-p 00011000 08:05 407447 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnio.so +7f05d598d000-7f05d598e000 ---p 00000000 00:00 0 +7f05d598e000-7f05d5a8e000 rw-p 00000000 00:00 0 [stack:3441] +7f05d5a8e000-7f05d5a91000 ---p 00000000 00:00 0 +7f05d5a91000-7f05d5b8f000 rw-p 00000000 00:00 0 [stack:3440] +7f05d5b8f000-7f05d5b92000 ---p 00000000 00:00 0 +7f05d5b92000-7f05d8000000 rw-p 00000000 00:00 0 [stack:3439] +7f05d8000000-7f05d8021000 rw-p 00000000 00:00 0 +7f05d8021000-7f05dc000000 ---p 00000000 00:00 0 +7f05dc084000-7f05dc087000 ---p 00000000 00:00 0 +7f05dc087000-7f05dc0ee000 rw-p 00000000 00:00 0 [stack:3454] +7f05dc0ee000-7f05dc0f1000 ---p 00000000 00:00 0 +7f05dc0f1000-7f05dc1ef000 rw-p 00000000 00:00 0 [stack:3438] +7f05dc1ef000-7f05dc1f2000 ---p 00000000 00:00 0 +7f05dc1f2000-7f05dc2f0000 rw-p 00000000 00:00 0 [stack:3435] +7f05dc2f0000-7f05dc2f3000 ---p 00000000 00:00 0 +7f05dc2f3000-7f05dc3f1000 rw-p 00000000 00:00 0 [stack:3433] +7f05dc3f1000-7f05dc3f4000 ---p 00000000 00:00 0 +7f05dc3f4000-7f05dc4f2000 rw-p 00000000 00:00 0 [stack:3431] +7f05dc4f2000-7f05dc4f6000 r-xp 00000000 08:05 407438 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libdt_socket.so +7f05dc4f6000-7f05dc6f5000 ---p 00004000 08:05 407438 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libdt_socket.so +7f05dc6f5000-7f05dc6f6000 r--p 00003000 08:05 407438 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libdt_socket.so +7f05dc6f6000-7f05dc6f7000 rw-p 00004000 08:05 407438 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libdt_socket.so +7f05dc6f7000-7f05dc6fa000 ---p 00000000 00:00 0 +7f05dc6fa000-7f05dc7f8000 rw-p 00000000 00:00 0 [stack:3429] +7f05dc7f8000-7f05dc7fb000 ---p 00000000 00:00 0 +7f05dc7fb000-7f05dc8f9000 rw-p 00000000 00:00 0 [stack:3427] +7f05dc8f9000-7f05dc8fc000 ---p 00000000 00:00 0 +7f05dc8fc000-7f05dc9fa000 rw-p 00000000 00:00 0 [stack:3426] +7f05dc9fa000-7f05dc9fb000 ---p 00000000 00:00 0 +7f05dc9fb000-7f05dd000000 rw-p 00000000 00:00 0 [stack:3425] +7f05dd000000-7f05dd270000 rwxp 00000000 00:00 0 +7f05dd270000-7f05e0399000 rw-p 00000000 00:00 0 +7f05e0399000-7f05e4000000 ---p 00000000 00:00 0 +7f05e402d000-7f05e402e000 rw-p 00000000 00:00 0 +7f05e402e000-7f05e4031000 r--s 00017000 08:05 409644 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar +7f05e4031000-7f05e4036000 r--s 0004c000 08:05 409642 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar +7f05e4036000-7f05e403f000 r--s 000b9000 08:05 404634 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar +7f05e403f000-7f05e404c000 r--s 000df000 08:05 2939829 /home/mahmoud/git/TeraData_ML_Proj/DBProject/lib/terajdbc4.jar +7f05e404c000-7f05e4b44000 rw-p 00000000 00:00 0 +7f05e4b44000-7f05e4cf5000 r--s 01d25000 08:05 410830 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar +7f05e4cf5000-7f05e5025000 rw-p 00000000 00:00 0 +7f05e5025000-7f05e5026000 ---p 00000000 00:00 0 +7f05e5026000-7f05e5126000 rw-p 00000000 00:00 0 [stack:3424] +7f05e5126000-7f05e5127000 ---p 00000000 00:00 0 +7f05e5127000-7f05e5227000 rw-p 00000000 00:00 0 [stack:3423] +7f05e5227000-7f05e5228000 ---p 00000000 00:00 0 +7f05e5228000-7f05e5328000 rw-p 00000000 00:00 0 [stack:3422] +7f05e5328000-7f05e5329000 ---p 00000000 00:00 0 +7f05e5329000-7f05e5434000 rw-p 00000000 00:00 0 [stack:3421] +7f05e5434000-7f05e547c000 rw-p 00000000 00:00 0 +7f05e547c000-7f05e5490000 rw-p 00000000 00:00 0 +7f05e5490000-7f05e55bf000 rw-p 00000000 00:00 0 +7f05e55bf000-7f05e55ca000 rw-p 00000000 00:00 0 +7f05e55ca000-7f05e5612000 rw-p 00000000 00:00 0 +7f05e5612000-7f05e5626000 rw-p 00000000 00:00 0 +7f05e5626000-7f05e5754000 rw-p 00000000 00:00 0 +7f05e5754000-7f05e57c0000 rw-p 00000000 00:00 0 +7f05e57c0000-7f05e57f6000 rw-p 00000000 00:00 0 +7f05e57f6000-7f05e57f7000 rw-p 00000000 00:00 0 +7f05e57f7000-7f05e57ff000 r-xp 00000000 08:05 404640 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so +7f05e57ff000-7f05e59fe000 ---p 00008000 08:05 404640 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so +7f05e59fe000-7f05e59ff000 r--p 00007000 08:05 404640 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so +7f05e59ff000-7f05e5a00000 rw-p 00008000 08:05 404640 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so +7f05e5a00000-7f05e5a0b000 r-xp 00000000 08:05 131317 /lib/x86_64-linux-gnu/libnss_files-2.19.so +7f05e5a0b000-7f05e5c0a000 ---p 0000b000 08:05 131317 /lib/x86_64-linux-gnu/libnss_files-2.19.so +7f05e5c0a000-7f05e5c0b000 r--p 0000a000 08:05 131317 /lib/x86_64-linux-gnu/libnss_files-2.19.so +7f05e5c0b000-7f05e5c0c000 rw-p 0000b000 08:05 131317 /lib/x86_64-linux-gnu/libnss_files-2.19.so +7f05e5c0c000-7f05e5c17000 r-xp 00000000 08:05 131324 /lib/x86_64-linux-gnu/libnss_nis-2.19.so +7f05e5c17000-7f05e5e16000 ---p 0000b000 08:05 131324 /lib/x86_64-linux-gnu/libnss_nis-2.19.so +7f05e5e16000-7f05e5e17000 r--p 0000a000 08:05 131324 /lib/x86_64-linux-gnu/libnss_nis-2.19.so +7f05e5e17000-7f05e5e18000 rw-p 0000b000 08:05 131324 /lib/x86_64-linux-gnu/libnss_nis-2.19.so +7f05e5e18000-7f05e5e2f000 r-xp 00000000 08:05 131310 /lib/x86_64-linux-gnu/libnsl-2.19.so +7f05e5e2f000-7f05e602e000 ---p 00017000 08:05 131310 /lib/x86_64-linux-gnu/libnsl-2.19.so +7f05e602e000-7f05e602f000 r--p 00016000 08:05 131310 /lib/x86_64-linux-gnu/libnsl-2.19.so +7f05e602f000-7f05e6030000 rw-p 00017000 08:05 131310 /lib/x86_64-linux-gnu/libnsl-2.19.so +7f05e6030000-7f05e6032000 rw-p 00000000 00:00 0 +7f05e6032000-7f05e603b000 r-xp 00000000 08:05 131321 /lib/x86_64-linux-gnu/libnss_compat-2.19.so +7f05e603b000-7f05e623a000 ---p 00009000 08:05 131321 /lib/x86_64-linux-gnu/libnss_compat-2.19.so +7f05e623a000-7f05e623b000 r--p 00008000 08:05 131321 /lib/x86_64-linux-gnu/libnss_compat-2.19.so +7f05e623b000-7f05e623c000 rw-p 00009000 08:05 131321 /lib/x86_64-linux-gnu/libnss_compat-2.19.so +7f05e623c000-7f05e691e000 r--p 00000000 08:05 3022654 /usr/lib/locale/locale-archive +7f05e691e000-7f05e6921000 r-xp 00000000 08:05 407449 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnpt.so +7f05e6921000-7f05e6b20000 ---p 00003000 08:05 407449 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnpt.so +7f05e6b20000-7f05e6b21000 r--p 00002000 08:05 407449 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnpt.so +7f05e6b21000-7f05e6b22000 rw-p 00003000 08:05 407449 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnpt.so +7f05e6b22000-7f05e6b5c000 r-xp 00000000 08:05 407444 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjdwp.so +7f05e6b5c000-7f05e6d5b000 ---p 0003a000 08:05 407444 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjdwp.so +7f05e6d5b000-7f05e6d5c000 r--p 00039000 08:05 407444 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjdwp.so +7f05e6d5c000-7f05e6d5d000 rw-p 0003a000 08:05 407444 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjdwp.so +7f05e6d5d000-7f05e6d88000 r-xp 00000000 08:05 407431 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so +7f05e6d88000-7f05e6f87000 ---p 0002b000 08:05 407431 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so +7f05e6f87000-7f05e6f88000 r--p 0002a000 08:05 407431 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so +7f05e6f88000-7f05e6f8a000 rw-p 0002b000 08:05 407431 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so +7f05e6f8a000-7f05e6f9a000 r-xp 00000000 08:05 407446 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so +7f05e6f9a000-7f05e7199000 ---p 00010000 08:05 407446 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so +7f05e7199000-7f05e719b000 r--p 0000f000 08:05 407446 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so +7f05e719b000-7f05e719c000 rw-p 00011000 08:05 407446 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so +7f05e719c000-7f05e71a3000 r-xp 00000000 08:05 131327 /lib/x86_64-linux-gnu/librt-2.19.so +7f05e71a3000-7f05e73a2000 ---p 00007000 08:05 131327 /lib/x86_64-linux-gnu/librt-2.19.so +7f05e73a2000-7f05e73a3000 r--p 00006000 08:05 131327 /lib/x86_64-linux-gnu/librt-2.19.so +7f05e73a3000-7f05e73a4000 rw-p 00007000 08:05 131327 /lib/x86_64-linux-gnu/librt-2.19.so +7f05e73a4000-7f05e73ba000 r-xp 00000000 08:05 135134 /lib/x86_64-linux-gnu/libgcc_s.so.1 +7f05e73ba000-7f05e75b9000 ---p 00016000 08:05 135134 /lib/x86_64-linux-gnu/libgcc_s.so.1 +7f05e75b9000-7f05e75ba000 rw-p 00015000 08:05 135134 /lib/x86_64-linux-gnu/libgcc_s.so.1 +7f05e75ba000-7f05e76bf000 r-xp 00000000 08:05 131309 /lib/x86_64-linux-gnu/libm-2.19.so +7f05e76bf000-7f05e78be000 ---p 00105000 08:05 131309 /lib/x86_64-linux-gnu/libm-2.19.so +7f05e78be000-7f05e78bf000 r--p 00104000 08:05 131309 /lib/x86_64-linux-gnu/libm-2.19.so +7f05e78bf000-7f05e78c0000 rw-p 00105000 08:05 131309 /lib/x86_64-linux-gnu/libm-2.19.so +7f05e78c0000-7f05e79a6000 r-xp 00000000 08:05 3024726 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 +7f05e79a6000-7f05e7ba5000 ---p 000e6000 08:05 3024726 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 +7f05e7ba5000-7f05e7bad000 r--p 000e5000 08:05 3024726 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 +7f05e7bad000-7f05e7baf000 rw-p 000ed000 08:05 3024726 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 +7f05e7baf000-7f05e7bc4000 rw-p 00000000 00:00 0 +7f05e7bc4000-7f05e86da000 r-xp 00000000 08:05 407452 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so +7f05e86da000-7f05e88d9000 ---p 00b16000 08:05 407452 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so +7f05e88d9000-7f05e8973000 r--p 00b15000 08:05 407452 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so +7f05e8973000-7f05e8996000 rw-p 00baf000 08:05 407452 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so +7f05e8996000-7f05e89c4000 rw-p 00000000 00:00 0 +7f05e89c4000-7f05e89dc000 r-xp 00000000 08:05 135320 /lib/x86_64-linux-gnu/libz.so.1.2.8 +7f05e89dc000-7f05e8bdb000 ---p 00018000 08:05 135320 /lib/x86_64-linux-gnu/libz.so.1.2.8 +7f05e8bdb000-7f05e8bdc000 r--p 00017000 08:05 135320 /lib/x86_64-linux-gnu/libz.so.1.2.8 +7f05e8bdc000-7f05e8bdd000 rw-p 00018000 08:05 135320 /lib/x86_64-linux-gnu/libz.so.1.2.8 +7f05e8bdd000-7f05e8bf6000 r-xp 00000000 08:05 131314 /lib/x86_64-linux-gnu/libpthread-2.19.so +7f05e8bf6000-7f05e8df5000 ---p 00019000 08:05 131314 /lib/x86_64-linux-gnu/libpthread-2.19.so +7f05e8df5000-7f05e8df6000 r--p 00018000 08:05 131314 /lib/x86_64-linux-gnu/libpthread-2.19.so +7f05e8df6000-7f05e8df7000 rw-p 00019000 08:05 131314 /lib/x86_64-linux-gnu/libpthread-2.19.so +7f05e8df7000-7f05e8dfb000 rw-p 00000000 00:00 0 +7f05e8dfb000-7f05e8dfe000 r-xp 00000000 08:05 131319 /lib/x86_64-linux-gnu/libdl-2.19.so +7f05e8dfe000-7f05e8ffd000 ---p 00003000 08:05 131319 /lib/x86_64-linux-gnu/libdl-2.19.so +7f05e8ffd000-7f05e8ffe000 r--p 00002000 08:05 131319 /lib/x86_64-linux-gnu/libdl-2.19.so +7f05e8ffe000-7f05e8fff000 rw-p 00003000 08:05 131319 /lib/x86_64-linux-gnu/libdl-2.19.so +7f05e8fff000-7f05e91ba000 r-xp 00000000 08:05 131325 /lib/x86_64-linux-gnu/libc-2.19.so +7f05e91ba000-7f05e93ba000 ---p 001bb000 08:05 131325 /lib/x86_64-linux-gnu/libc-2.19.so +7f05e93ba000-7f05e93be000 r--p 001bb000 08:05 131325 /lib/x86_64-linux-gnu/libc-2.19.so +7f05e93be000-7f05e93c0000 rw-p 001bf000 08:05 131325 /lib/x86_64-linux-gnu/libc-2.19.so +7f05e93c0000-7f05e93c5000 rw-p 00000000 00:00 0 +7f05e93c5000-7f05e93d2000 r-xp 00000000 08:05 407429 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so +7f05e93d2000-7f05e95d1000 ---p 0000d000 08:05 407429 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so +7f05e95d1000-7f05e95d2000 r--p 0000c000 08:05 407429 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so +7f05e95d2000-7f05e95d3000 rw-p 0000d000 08:05 407429 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so +7f05e95d3000-7f05e95f6000 r-xp 00000000 08:05 131322 /lib/x86_64-linux-gnu/ld-2.19.so +7f05e95f6000-7f05e95f7000 r--p 00000000 00:00 0 +7f05e95f7000-7f05e95f8000 r--s 00000000 08:05 2939801 /home/mahmoud/git/TeraData_ML_Proj/DBProject/lib/tdgssconfig.jar +7f05e95f8000-7f05e95f9000 r--s 00002000 08:05 410829 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/dnsns.jar +7f05e95f9000-7f05e95fc000 r--s 0000f000 08:05 409656 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/icedtea-sound.jar +7f05e95fc000-7f05e961d000 rw-p 00000000 00:00 0 +7f05e961d000-7f05e96d3000 rw-p 00000000 00:00 0 +7f05e96d3000-7f05e96d6000 ---p 00000000 00:00 0 +7f05e96d6000-7f05e97d9000 rw-p 00000000 00:00 0 [stack:3420] +7f05e97d9000-7f05e97db000 r--s 00006000 08:05 3428021 /usr/share/java/java-atk-wrapper.jar +7f05e97db000-7f05e97df000 r--s 00034000 08:05 410828 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunjce_provider.jar +7f05e97df000-7f05e97e3000 r--s 0003c000 08:05 409658 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunpkcs11.jar +7f05e97e3000-7f05e97e5000 r--s 00012000 08:05 409657 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/zipfs.jar +7f05e97e5000-7f05e97e9000 r--s 00085000 08:05 410827 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/localedata.jar +7f05e97e9000-7f05e97f1000 rw-s 00000000 08:05 1572990 /tmp/hsperfdata_mahmoud/3413 +7f05e97f1000-7f05e97f2000 rw-p 00000000 00:00 0 +7f05e97f2000-7f05e97f3000 ---p 00000000 00:00 0 +7f05e97f3000-7f05e97f5000 rw-p 00000000 00:00 0 +7f05e97f5000-7f05e97f6000 r--p 00022000 08:05 131322 /lib/x86_64-linux-gnu/ld-2.19.so +7f05e97f6000-7f05e97f7000 rw-p 00023000 08:05 131322 /lib/x86_64-linux-gnu/ld-2.19.so +7f05e97f7000-7f05e97f8000 rw-p 00000000 00:00 0 +7fffcbc89000-7fffcbcaa000 rw-p 00000000 00:00 0 [stack] +7fffcbd42000-7fffcbd44000 r-xp 00000000 00:00 0 [vdso] +ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] + +VM Arguments: +jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:60258 -Dfile.encoding=UTF-8 +java_command: edu.umich.td.controller.Controller +Launcher Type: SUN_STANDARD + +Environment Variables: +PATH=/home/mahmoud/build/Release+Asserts/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games +SHELL=/bin/bash +DISPLAY=:0.0 + +Signal Handlers: +SIGSEGV: [libjvm.so+0x9495e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGBUS: [libjvm.so+0x9495e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGFPE: [libjvm.so+0x7c3410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGPIPE: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000 +SIGXFSZ: [libjvm.so+0x7c3410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGILL: [libjvm.so+0x7c3410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 +SIGUSR2: [libjvm.so+0x7c32b0], sa_mask[0]=0x00000004, sa_flags=0x10000004 +SIGHUP: [libjvm.so+0x7c3490], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGINT: [libjvm.so+0x7c3490], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGTERM: [libjvm.so+0x7c3490], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGQUIT: [libjvm.so+0x7c3490], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 +SIGTRAP: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 + + +--------------- S Y S T E M --------------- + +OS:Ubuntu 14.04 (trusty) +uname:Linux 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 +libc:glibc 2.19 NPTL 2.19 +rlimit: STACK 8192k, CORE 0k, NPROC 30761, NOFILE 4096, AS infinity +load average:0.86 0.30 0.25 + +/proc/meminfo: +MemTotal: 3959052 kB +MemFree: 109852 kB +Buffers: 912 kB +Cached: 620284 kB +SwapCached: 0 kB +Active: 3038080 kB +Inactive: 607584 kB +Active(anon): 3028228 kB +Inactive(anon): 567012 kB +Active(file): 9852 kB +Inactive(file): 40572 kB +Unevictable: 464 kB +Mlocked: 464 kB +SwapTotal: 0 kB +SwapFree: 0 kB +Dirty: 184 kB +Writeback: 0 kB +AnonPages: 3024872 kB +Mapped: 262976 kB +Shmem: 570760 kB +Slab: 64176 kB +SReclaimable: 28112 kB +SUnreclaim: 36064 kB +KernelStack: 5096 kB +PageTables: 47352 kB +NFS_Unstable: 0 kB +Bounce: 0 kB +WritebackTmp: 0 kB +CommitLimit: 1979524 kB +Committed_AS: 7944892 kB +VmallocTotal: 34359738367 kB +VmallocUsed: 353128 kB +VmallocChunk: 34359376364 kB +HardwareCorrupted: 0 kB +AnonHugePages: 894976 kB +HugePages_Total: 0 +HugePages_Free: 0 +HugePages_Rsvd: 0 +HugePages_Surp: 0 +Hugepagesize: 2048 kB +DirectMap4k: 72788 kB +DirectMap2M: 2983936 kB +DirectMap1G: 1048576 kB + + +CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 69 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, erms, ht, tsc, tscinvbit + +/proc/cpuinfo: +processor : 0 +vendor_id : GenuineIntel +cpu family : 6 +model : 69 +model name : Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz +stepping : 1 +microcode : 0x1c +cpu MHz : 768.000 +cache size : 3072 KB +physical id : 0 +siblings : 4 +core id : 0 +cpu cores : 2 +apicid : 0 +initial apicid : 0 +fpu : yes +fpu_exception : yes +cpuid level : 13 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid +bogomips : 4788.51 +clflush size : 64 +cache_alignment : 64 +address sizes : 39 bits physical, 48 bits virtual +power management: + +processor : 1 +vendor_id : GenuineIntel +cpu family : 6 +model : 69 +model name : Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz +stepping : 1 +microcode : 0x1c +cpu MHz : 1700.000 +cache size : 3072 KB +physical id : 0 +siblings : 4 +core id : 1 +cpu cores : 2 +apicid : 2 +initial apicid : 2 +fpu : yes +fpu_exception : yes +cpuid level : 13 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid +bogomips : 4788.51 +clflush size : 64 +cache_alignment : 64 +address sizes : 39 bits physical, 48 bits virtual +power management: + +processor : 2 +vendor_id : GenuineIntel +cpu family : 6 +model : 69 +model name : Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz +stepping : 1 +microcode : 0x1c +cpu MHz : 1700.000 +cache size : 3072 KB +physical id : 0 +siblings : 4 +core id : 0 +cpu cores : 2 +apicid : 1 +initial apicid : 1 +fpu : yes +fpu_exception : yes +cpuid level : 13 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid +bogomips : 4788.51 +clflush size : 64 +cache_alignment : 64 +address sizes : 39 bits physical, 48 bits virtual +power management: + +processor : 3 +vendor_id : GenuineIntel +cpu family : 6 +model : 69 +model name : Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz +stepping : 1 +microcode : 0x1c +cpu MHz : 1700.000 +cache size : 3072 KB +physical id : 0 +siblings : 4 +core id : 1 +cpu cores : 2 +apicid : 3 +initial apicid : 3 +fpu : yes +fpu_exception : yes +cpuid level : 13 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid +bogomips : 4788.51 +clflush size : 64 +cache_alignment : 64 +address sizes : 39 bits physical, 48 bits virtual +power management: + + + +Memory: 4k page, physical 3959052k(109852k free), swap 0k(0k free) + +vm_info: OpenJDK 64-Bit Server VM (24.65-b04) for linux-amd64 JRE (1.7.0_65-b32), built on Oct 22 2014 04:37:44 by "buildd" with gcc 4.8.2 + +time: Mon Dec 8 18:37:34 2014 +elapsed time: 36 seconds + diff --git a/DBProject/plan.xml b/DBProject/plan.xml new file mode 100644 index 0000000..85fd3cc --- /dev/null +++ b/DBProject/plan.xml @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/DBProject/src/edu/umich/td/controller/Controller.java b/DBProject/src/edu/umich/td/controller/Controller.java index cba0c09..2ccb326 100644 --- a/DBProject/src/edu/umich/td/controller/Controller.java +++ b/DBProject/src/edu/umich/td/controller/Controller.java @@ -5,21 +5,31 @@ package edu.umich.td.controller; +import java.awt.image.SampleModel; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.sql.Connection; import java.util.ArrayList; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Map; import edu.umich.td.database.*; import edu.umich.td.fextractors.Feature; +import edu.umich.td.fextractors.FeatureCategory; +import edu.umich.td.fextractors.QPlanFeatureExtractor; import edu.umich.td.fextractors.QTextFeatureExtractor; +import edu.umich.td.fextractors.WKLDFeatureExtractor; +import edu.umich.td.workload.DataInstance; import edu.umich.td.workload.QueriesPool; import edu.umich.td.workload.Query; import edu.umich.td.workload.WorkLoadGenerator; public class Controller { + public static HashMap timeStampsToQueryFeatures = new HashMap(); + public static void main(String[] args) { // 1- Load queries into the query pool from the files // 2- Run all the queries sequentially to detect each queries behavior @@ -32,122 +42,183 @@ public static void main(String[] args) { // 9- Execute the returned list of queries from the WL creator // 10- Collect CPU and I/O usage - QueriesPool qpool = new QueriesPool(); StatsCollector.tables = StatsCollector.GetAllTablesAndCounts("TPCH"); - ArrayList queriesFeaturesList = new ArrayList(); - ArrayList featuresList = new ArrayList(); - - ArrayList queries = qpool.ReadQueriesFromDirectory("/home/mahmoud/Documents/DB/Data/labeledQueries"); - qpool.ClusterQueries(); - - int qTotalCount = qpool.TotalQueriesCount(); - - WorkLoadGenerator workload = new WorkLoadGenerator(); - - int samplesCount = 0; - int batchSize = 0; - - for (int j = 0; j < 5; j++) { - qpool.ResetInclusionCount(); - Query.Max_COUNT = 10 - j; - samplesCount = 200 - j*35 ; - batchSize = 5 * j; - if (samplesCount * batchSize <= qTotalCount * Query.Max_COUNT) { - workload.Generate(batchSize, samplesCount); - } else { - System.err - .printf("The queries pool of size %d cannot generate %d samples with size %d using maximum repetition count of %d\n", - qTotalCount, samplesCount, batchSize, Query.Max_COUNT); - System.err.printf("Please increase the maximum repetition count to at least %d\n", - (int) Math.ceil((double) ((samplesCount * batchSize) / qTotalCount)) + 1); - } - } - - - - - - - - - ArrayList failedQueries = new ArrayList(); - ArrayList qtimeStamps = new ArrayList(); - Connection con = TdDatabase.OpenConnection(); - for (int i = 0; i < workload.wlQueries.size(); i++) { - - - System.out.println("=========\tProcessing Query #" + i + "\t========="); - QTextFeatureExtractor qtFeatExtractor = new QTextFeatureExtractor(); - featuresList = qtFeatExtractor.ExtractFeatures(queries.get(i)); - - String query = queries.get(i).qText; - long timeStamp = System.currentTimeMillis(); - query = query.replaceFirst("\n", "/*Q" + System.currentTimeMillis() + "*/\n"); - boolean status = TdDatabase.ExecuteQuery(con, query); - - // Query failed to execute properly - if (!status) { - failedQueries.add(i); - } // Query is executed successfully - else { - // Add time stamp to the query so that we can retrieve it later - qtimeStamps.add(timeStamp); - String feat = ""; - for (Feature feature : featuresList) { - System.out.print(feature.featureValue + "\t"); - feat += feature.featureValue + "\t"; + + int Temp = 0; + int limiter = 0; + WorkLoadGenerator workloads = new WorkLoadGenerator(); + workloads.ReadWorkLoadsFromDirectory("/home/mahmoud/Documents/DB/Data/Workloads/TestWorkloads"); + + int slice = 0; + while (workloads.wlQueries.size() > 0) { + Connection con = TdDatabase.OpenConnection(); + + ArrayList queries; + for (int K = 0; K < 150 && K < workloads.wlQueries.size(); K++) { + queries = workloads.wlQueries.get(K); + + if (queries.size() == 1) { + System.out.println(K + "."); + for (Query q : queries) { + QTextFeatureExtractor qtFeatExtractor = new QTextFeatureExtractor(); + QPlanFeatureExtractor qtPlanFeatExtractor = new QPlanFeatureExtractor(); + q.featureVector.clear(); + q.featureVector.addAll(qtFeatExtractor.ExtractFeatures(q)); + int size = q.featureVector.size(); + // System.err.println("After text feature extraction: "+ + // q.featureVector.size()); + try { + + q.featureVector.addAll(qtPlanFeatExtractor.getFeaturesFromPlan(con, q.qText)); + // System.err.println("After PLAN feature extraction: " + // + (q.featureVector.size()-size)); + } catch (Exception e) { + System.err.println(q.qText); + System.err.println(e.getMessage()); + } + } } - queriesFeaturesList.add(feat); + } - System.out.println("\n"); - } - for (int i = 0; i < failedQueries.size(); i++) { - // System.out.println(instance); - queries.remove(failedQueries.get(i)); + for (int K = 0; K < 150 && K < workloads.wlQueries.size(); K++) { + queries = workloads.wlQueries.get(K); + ArrayList failedQueries = new ArrayList(); + + if (queries.size() == 1 && limiter > Temp) { + int i = 0; + for (Query q : queries) { + System.out.println("=========\tProcessing Query #" + K + "\t=========> " + q.parentFolder + + "/" + q.fileName + "\t features: " + q.featureVector.size()); + + String query = queries.get(i).qText; + + long timeStamp = System.currentTimeMillis(); + query = query.replaceFirst("\n", "/*Q" + System.currentTimeMillis() + "*/\n"); + boolean status = TdDatabase.ExecuteQuery(con, query); + + // Query failed to execute properly + if (!status) { + failedQueries.add(i); + } else { + // Add time stamp to the query so that we can + // retrieve + // it + // later + DataInstance data = new DataInstance(); + data.features = q.CloneFeatures(); + timeStampsToQueryFeatures.put(timeStamp, data); + + } + i++; + } + } else + limiter++; + } + try { + Thread.sleep(15000); + } catch (InterruptedException e) { + e.printStackTrace(); + } + System.err.println("Writing Back"); + if (limiter > Temp) + WriteDataIntoFile(1, "test"); + int l = 0; + while (workloads.wlQueries.size() > 0 && l < 150 && l < workloads.wlQueries.size()) { + workloads.wlQueries.remove(l); + l++; + } + TdDatabase.CloseConnection(con); } - // Initialize the CPU and I/O lists to collect the stats - ArrayList Cpu = new ArrayList(); - ArrayList IO = new ArrayList(); - StringBuilder sbuildCPU = new StringBuilder(); - StringBuilder sbuildIO = new StringBuilder(); + } + public static void WriteToFile(String fileName, String text, boolean append) { try { - Thread.sleep(15000); - } catch (InterruptedException e) { - e.printStackTrace(); + BufferedWriter bw = new BufferedWriter(new FileWriter(new File(fileName), append)); + bw.write(text); + bw.close(); + } catch (Exception e) { + System.out.println(e.getMessage()); } + } - Connection statsCon = StatsCollector.OpenConnection(); - for (int i = 0; i < qtimeStamps.size(); i++) { - int[] CpuIo = { 0, 0 }; - System.out.println("Collecting CPU and I/O usage ..."); - CpuIo = StatsCollector.CollectCpuIO(statsCon, "Q" + qtimeStamps.get(i)); + static public String GetPrintableInstance(long C, ArrayList f, int samplesSize, FeatureCategory category) { - String featuresVector = ""; - sbuildIO.append(CpuIo[0] + "\t" + queriesFeaturesList.get(i).trim() + "\n"); - sbuildCPU.append(CpuIo[1] + "\t" + queriesFeaturesList.get(i).trim() + "\n"); - System.err.println("===>\t" + CpuIo[0] + "\t" + CpuIo[1] + "\t"); + StringBuilder sbuild = new StringBuilder(); + sbuild.append(samplesSize + ","); + for (Feature feature : f) { + if (feature.category != category) + sbuild.append(feature.featureValue + ","); } - StatsCollector.CloseConnection(statsCon); - TdDatabase.CloseConnection(con); + sbuild.append(C); + return sbuild.toString(); - System.err.println("===> Writing I/O File ..."); - WriteToFile("files/io.txt", sbuildIO.toString(), false); - System.err.println("===> Writing CPU File ..."); - WriteToFile("files/cpu.txt", sbuildCPU.toString(), false); } - public static void WriteToFile(String fileName, String text, boolean append) { - try { - BufferedWriter bw = new BufferedWriter(new FileWriter(new File(fileName), append)); - bw.write(text); - bw.close(); - } catch (Exception e) { - System.out.println(e.getMessage()); + public static void WriteDataIntoFile(int samplesSize, String type) { + StringBuilder cpuSbuild_ALL = new StringBuilder(); + StringBuilder ioSbuild_ALL = new StringBuilder(); + + StringBuilder cpuSbuild_TEXT = new StringBuilder(); + StringBuilder ioSbuild_TEXT = new StringBuilder(); + + StringBuilder cpuSbuild_PLAN = new StringBuilder(); + StringBuilder ioSbuild_PLAN = new StringBuilder(); + + StringBuilder cpuSbuild_WL = new StringBuilder(); + StringBuilder ioSbuild_WL = new StringBuilder(); + + Connection statsCon = StatsCollector.OpenConnection(); + + Iterator it = timeStampsToQueryFeatures.entrySet().iterator(); + while (it.hasNext()) { + int[] CpuIo = { 0, 0 }; + Map.Entry pairs = (Map.Entry) it.next(); + CpuIo = StatsCollector.CollectCpuIO(statsCon, "Q" + pairs.getKey()); + DataInstance instance = (DataInstance) pairs.getValue(); + instance.CPU = CpuIo[0]; + instance.IO = CpuIo[1]; + + cpuSbuild_ALL.append(GetPrintableInstance(instance.CPU, instance.features, samplesSize, + FeatureCategory.NULL) + "\n"); + ioSbuild_ALL.append(GetPrintableInstance(instance.IO, instance.features, samplesSize, FeatureCategory.NULL) + + "\n"); + + cpuSbuild_TEXT.append(GetPrintableInstance(instance.CPU, instance.features, samplesSize, + FeatureCategory.QUERYTEXT) + "\n"); + ioSbuild_TEXT.append(GetPrintableInstance(instance.IO, instance.features, samplesSize, + FeatureCategory.QUERYTEXT) + "\n"); + + cpuSbuild_PLAN.append(GetPrintableInstance(instance.CPU, instance.features, samplesSize, + FeatureCategory.QUERYPLAN) + "\n"); + ioSbuild_PLAN.append(GetPrintableInstance(instance.IO, instance.features, samplesSize, + FeatureCategory.QUERYPLAN) + "\n"); + + cpuSbuild_WL.append(GetPrintableInstance(instance.CPU, instance.features, samplesSize, + FeatureCategory.WORKLOAD) + "\n"); + ioSbuild_WL.append(GetPrintableInstance(instance.IO, instance.features, samplesSize, + FeatureCategory.WORKLOAD) + "\n"); + + it.remove(); } + + WriteToFile("files/Test/IO_" + samplesSize + "_ALL." + type, cpuSbuild_ALL.toString(), true); + WriteToFile("files/Test/CPU_" + samplesSize + "_ALL." + type, ioSbuild_ALL.toString(), true); + + WriteToFile("files/Test/IO_" + samplesSize + "_TEXt." + type, cpuSbuild_ALL.toString(), true); + WriteToFile("files/Test/CPU_" + samplesSize + "_TEXT." + type, ioSbuild_ALL.toString(), true); + + WriteToFile("files/Test/IO_" + samplesSize + "_PLAN." + type, cpuSbuild_ALL.toString(), true); + WriteToFile("files/Test/CPU_" + samplesSize + "_PLAN." + type, ioSbuild_ALL.toString(), true); + + WriteToFile("files/Test/IO_" + samplesSize + "_WL." + type, cpuSbuild_ALL.toString(), true); + WriteToFile("files/Test/CPU_" + samplesSize + "_WL." + type, ioSbuild_ALL.toString(), true); + + StatsCollector.CloseConnection(statsCon); + timeStampsToQueryFeatures.clear(); + } } diff --git a/DBProject/src/edu/umich/td/controller/StagingPhase.java b/DBProject/src/edu/umich/td/controller/StagingPhase.java index c4fe87d..22855d7 100644 --- a/DBProject/src/edu/umich/td/controller/StagingPhase.java +++ b/DBProject/src/edu/umich/td/controller/StagingPhase.java @@ -16,6 +16,8 @@ public static void main(String[] args) { // 1- Load queries into the query pool from the files // 2- Run all the queries sequentially to detect each queries behavior + Connection con = TdDatabase.OpenConnection(); + try{ QueriesPool qpool = new QueriesPool(); ArrayList queries = qpool.ReadQueriesFromDirectory("/home/mahmoud/Documents/DB/Data/TrainingData"); @@ -24,24 +26,26 @@ public static void main(String[] args) { ArrayList failedQueries = new ArrayList(); ArrayList qtimeStamps = new ArrayList(); - Connection con = TdDatabase.OpenConnection(); + - boolean status = TdDatabase.ExecuteQuery(con, "database TPCH;"); + boolean status = true; for (int i = 0; i < queries.size(); i++) { // Write queries to file after processing 100 queries - if (i % 10 == 0 || !status) { - try { - Thread.sleep(15000); - } catch (InterruptedException e) { - e.printStackTrace(); - } + if (i % 100 == 0 || !status) { + //try { + //Thread.sleep(15000); + //} catch (InterruptedException e) { + // e.printStackTrace(); + //} Connection statsCon = StatsCollector.OpenConnection(); for (int j = 0; j < qtimeStamps.size(); j++) { + System.err.println(qtimeStamps.get(j)); if (!queries.get(j).written && (queries.get(j).ioCnt + queries.get(j).cpuCnt > 0)) { int[] CpuIo = { 0, 0 }; System.out.println("Collecting CPU and I/O usage ..."); + CpuIo = StatsCollector.CollectCpuIO(statsCon, "Q" + qtimeStamps.get(j)); System.err.println("===>\t" + CpuIo[0] + "\t" + CpuIo[1] + "\t"); queries.get(j).cpuCnt = CpuIo[0]; @@ -80,7 +84,7 @@ public static void main(String[] args) { } try { - Thread.sleep(15000); + Thread.sleep(60000); } catch (InterruptedException e) { e.printStackTrace(); } @@ -102,5 +106,11 @@ public static void main(String[] args) { qpool.WriteFilesToDirectory("/home/mahmoud/Documents/DB/Data/labeledQueries"); // qpool.WriteFilesToDirectory("/root/Documents/DB/Data/labeledQueries"); } + finally { + //StatsCollector.CloseConnection(statsCon); + TdDatabase.CloseConnection(con); + System.err.println("Closing connections"); + } + } } diff --git a/DBProject/src/edu/umich/td/controller/WorkLoadCreationPhase.java b/DBProject/src/edu/umich/td/controller/WorkLoadCreationPhase.java new file mode 100644 index 0000000..330d957 --- /dev/null +++ b/DBProject/src/edu/umich/td/controller/WorkLoadCreationPhase.java @@ -0,0 +1,51 @@ +package edu.umich.td.controller; + + +import java.util.ArrayList; + + +import edu.umich.td.workload.QueriesPool; +import edu.umich.td.workload.Query; +import edu.umich.td.workload.WorkLoadGenerator; + +public class WorkLoadCreationPhase { + + public static void main(String[] args) { + + // 1- Load labeled queries into the query pool from the files + // 2- Cluster queries into 4 categories + // 3- Pass the different query pool to the workload creator + // 4- Create different queries patch of different sizes + + QueriesPool qpool = new QueriesPool(); + qpool.ReadLabeledQueriesFromDirectory("/home/mahmoud/Documents/DB/Data/labeledQueries/Staged/StagedTraining"); + qpool.ClusterQueries(); + int qTotalCount = qpool.TotalQueriesCount(); + + WorkLoadGenerator workload = new WorkLoadGenerator(); + + int samplesCount = 0; + int batchSize = 0; + + for (int j = 0; j < 5; j++) { + qpool.ResetInclusionCount(); + Query.Max_COUNT = 7 - j; + samplesCount = 240 - j * 40; + batchSize = 5 * j; + if (samplesCount * batchSize <= qTotalCount * Query.Max_COUNT) { + workload.Generate(batchSize, samplesCount); + } else { + System.err + .printf("The queries pool of size %d cannot generate %d samples with size %d using maximum repetition count of %d\n", + qTotalCount, samplesCount, batchSize, Query.Max_COUNT); + System.err.printf("Please increase the maximum repetition count to at least %d\n", + (int) Math.ceil((double) ((samplesCount * batchSize) / qTotalCount)) + 1); + } + } + + workload.WriteWorkloadsToDisk("/home/mahmoud/Documents/DB/Data/Workloads/TrainingWorkloads"); + + + } + +} diff --git a/DBProject/src/edu/umich/td/database/StatsCollector.java b/DBProject/src/edu/umich/td/database/StatsCollector.java index 52203f2..0f3c200 100644 --- a/DBProject/src/edu/umich/td/database/StatsCollector.java +++ b/DBProject/src/edu/umich/td/database/StatsCollector.java @@ -14,7 +14,7 @@ public class StatsCollector { public static String sUser = "dbc"; public static String sPassword = "eecs58414"; - public static String url = "jdbc:teradata://ec2-54-174-132-214.compute-1.amazonaws.com"; + public static String url = "jdbc:teradata://ec2-54-165-236-239.compute-1.amazonaws.com"; public static Map tables; diff --git a/DBProject/src/edu/umich/td/database/TdDatabase.java b/DBProject/src/edu/umich/td/database/TdDatabase.java index 3853345..1b83b9e 100644 --- a/DBProject/src/edu/umich/td/database/TdDatabase.java +++ b/DBProject/src/edu/umich/td/database/TdDatabase.java @@ -19,7 +19,7 @@ public class TdDatabase { // Credentials public static String sUser = "mazab"; public static String sPassword = "eecs584"; - public static String url = "jdbc:teradata://ec2-54-174-132-214.compute-1.amazonaws.com"; + public static String url = "jdbc:teradata://ec2-54-165-236-239.compute-1.amazonaws.com"; diff --git a/DBProject/src/edu/umich/td/fextractors/QPlanFeatureExtractor.java b/DBProject/src/edu/umich/td/fextractors/QPlanFeatureExtractor.java index f36981b..588eb10 100644 --- a/DBProject/src/edu/umich/td/fextractors/QPlanFeatureExtractor.java +++ b/DBProject/src/edu/umich/td/fextractors/QPlanFeatureExtractor.java @@ -53,21 +53,33 @@ public String getPlanFromQuery(Connection con, String query) { // Creating a statement object from an active connection. Statement stmt = con.createStatement(); try { - ResultSet rs = stmt.executeQuery(query); - while (rs.next()) { - plan = rs.getString(1); + + // This handles multiple result sets + boolean results = stmt.execute(query); + + while(results){ + + ResultSet rs = stmt.getResultSet(); + while (rs.next()) { + plan = plan + rs.getString(1); + } + rs.close(); + + // Check for more results + results = stmt.getMoreResults(); + } - System.out.println("Waiting..."); - Thread.sleep(10); - } catch (InterruptedException e) { - e.printStackTrace(); - } finally { + // ---------------------------------- + + //System.out.println(plan); + }finally { // Close the statement stmt.close(); } } finally { } + return plan; } catch (SQLException ex) { // A SQLException was generated. Catch it and display @@ -85,18 +97,5 @@ public String getPlanFromQuery(Connection con, String query) { return plan; } } - - // MAIN - public static void main(String[] args) throws Exception { - - Connection con = TdDatabase.OpenConnection(); - String query = "select * from nation;"; - QPlanFeatureExtractor planex = new QPlanFeatureExtractor(); - ArrayList features = planex.getFeaturesFromPlan(con, query); - - for ( Feature fe : features){ - System.out.println(fe); - } - } } diff --git a/DBProject/src/edu/umich/td/fextractors/QTextFeatureExtractor.java b/DBProject/src/edu/umich/td/fextractors/QTextFeatureExtractor.java index b5f7baa..c91327b 100644 --- a/DBProject/src/edu/umich/td/fextractors/QTextFeatureExtractor.java +++ b/DBProject/src/edu/umich/td/fextractors/QTextFeatureExtractor.java @@ -26,6 +26,8 @@ public class QTextFeatureExtractor { String tmpFileName = "files/tmp.feat"; // read query text features vector from file + + ArrayList ReadFeatFromFile() { String strLine; ArrayList featuresList = new ArrayList(); @@ -70,15 +72,18 @@ public ArrayList ExtractFeatures(Query query) { while ((ln = ms.readLine()) != null) System.out.println(ln); - System.out.print("Extracting features ... "); + //System.out.print("Extracting features ... "); p.waitFor(); - System.out.println("Done"); + //System.out.println("Done"); ArrayList features = ReadFeatFromFile(); + + + ArrayList tableCountsFeatures = ExtractTextFeatures(query, ""); - //features.addAll(tableCountsFeatures); - + features.addAll(tableCountsFeatures); + return features; } catch (Exception e) { return null; diff --git a/DBProject/src/edu/umich/td/fextractors/WKLDFeatureExtractor.java b/DBProject/src/edu/umich/td/fextractors/WKLDFeatureExtractor.java new file mode 100644 index 0000000..82d1c7b --- /dev/null +++ b/DBProject/src/edu/umich/td/fextractors/WKLDFeatureExtractor.java @@ -0,0 +1,65 @@ +package edu.umich.td.fextractors; + +import java.util.ArrayList; + +import edu.umich.td.workload.*; + +public class WKLDFeatureExtractor { + + // Function: takes in a list of workloads, + // adds workload features to each query feature vector + public void getWKLDFeatures(ArrayList> list){ + for(ArrayList workload : list){ + extractFeatures(workload); + } + } + + + // Function: gets features for each workload + public void extractFeatures(ArrayList workload){ + int concQueries = workload.size(); + int totalIO=0, totalCPU=0; + + for(Query q: workload){ + totalIO = totalIO + findIOindex(q); + totalCPU = totalCPU + findCPUindex(q); + } + + for(Query q: workload){ + int size = q.featureVector.size(); + q.featureVector.add(new Feature("ConcurrentQueries", String.valueOf(concQueries), FeatureCategory.WORKLOAD)); + //q.featureVector.add(new Feature("TotalCPU", String.valueOf(totalCPU), FeatureCategory.WORKLOAD)); + //q.featureVector.add(new Feature("TotalIO", String.valueOf(totalIO), FeatureCategory.WORKLOAD)); + System.err.println("After WORKLOAD feature extraction: " + q.featureVector.size()); + } + + } + + + + // ---- HELPER FUNCTIONS ---- + public int findIOindex(Query q){ + int i = 0; + for(Feature f: q.featureVector){ + if(f.featureName.equals("IOCount")){ + return i; + }else{ + i++; + } + } + return 0; + } + + public int findCPUindex(Query q){ + int i = 0; + for(Feature f: q.featureVector){ + if(f.featureName.equals("CPUTime")){ + return i; + }else{ + i++; + } + } + return 0; + } + +} \ No newline at end of file diff --git a/DBProject/src/edu/umich/td/fextractors/XMLHandler.java b/DBProject/src/edu/umich/td/fextractors/XMLHandler.java index 8863ba5..8277f99 100644 --- a/DBProject/src/edu/umich/td/fextractors/XMLHandler.java +++ b/DBProject/src/edu/umich/td/fextractors/XMLHandler.java @@ -164,14 +164,14 @@ public ArrayList getFeatures(){ public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { - - + + + int length = attributes.getLength(); for (int i=0; i features; + + +} diff --git a/DBProject/src/edu/umich/td/workload/QueriesPool.java b/DBProject/src/edu/umich/td/workload/QueriesPool.java index 5626f17..80ed0bc 100644 --- a/DBProject/src/edu/umich/td/workload/QueriesPool.java +++ b/DBProject/src/edu/umich/td/workload/QueriesPool.java @@ -87,6 +87,7 @@ public ArrayList ReadQueriesFromDirectory(String directory) { File queriesFolder = new File(directory); File[] qDirectories = queriesFolder.listFiles(); + for (int i = 0; i < qDirectories.length; i++) { if (qDirectories[i].isDirectory()) { diff --git a/DBProject/src/edu/umich/td/workload/Query.java b/DBProject/src/edu/umich/td/workload/Query.java index c864d8f..c1096d9 100644 --- a/DBProject/src/edu/umich/td/workload/Query.java +++ b/DBProject/src/edu/umich/td/workload/Query.java @@ -20,5 +20,16 @@ public Query(String text) { this.qText = text; } + + public ArrayList CloneFeatures(){ + ArrayList flist = new ArrayList(); + for(Feature f: featureVector){ + flist.add(f.clone()); + } + + return flist; + + } + } diff --git a/DBProject/src/edu/umich/td/workload/WorkLoadGenerator.java b/DBProject/src/edu/umich/td/workload/WorkLoadGenerator.java index 39acddd..a5bf3b9 100644 --- a/DBProject/src/edu/umich/td/workload/WorkLoadGenerator.java +++ b/DBProject/src/edu/umich/td/workload/WorkLoadGenerator.java @@ -1,5 +1,12 @@ package edu.umich.td.workload; +import java.io.BufferedReader; +import java.io.BufferedWriter; +import java.io.DataInputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileWriter; +import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Random; @@ -151,5 +158,80 @@ void GenerateAll() { } } + + + public void ReadWorkLoadsFromDirectory(String directory) { + File queriesFolder = new File(directory); + File[] qDirectories = queriesFolder.listFiles(); + + for (int i = 0; i < qDirectories.length; i++) { + if (qDirectories[i].isDirectory()) { + File[] queries = qDirectories[i].listFiles(); + String dictName = qDirectories[i].getName(); + ArrayList concurrentQueriesList = new ArrayList(); + for (int j = 0; j < queries.length; j++) { + + if (queries[j].getName().endsWith(".sql")) { + String query = ReadFileToString(queries[j].getAbsolutePath()); + Query q = new Query(query); + q.fileName = queries[j].getName(); + q.parentFolder = dictName; + concurrentQueriesList.add(q); + } + } + wlQueries.add(concurrentQueriesList); + } + } + + + } + + public void WriteWorkloadsToDisk(String targetDirectory){ + for(int i=0; i < wlQueries.size(); i++ ){ + + ArrayList ql = wlQueries.get(i); + System.err.println("Sample Size " + ql.size()); + for(int j=0; j < ql.size(); j++){ + new File(targetDirectory + "/" + i).mkdirs(); + int version = 0; + while(new File(targetDirectory + "/" + i + "/" + (ql.get(j).parentFolder+"_" + version + "_"+ql.get(j).fileName)).exists()) + version++; + WriteQueryToFile(targetDirectory + "/" + i + "/" + (ql.get(j).parentFolder +"_" + version + "_"+ ql.get(j).fileName), ql.get(j).qText, false); + } + } + } + + + public void WriteQueryToFile(String fileName, String text, boolean append) { + try { + BufferedWriter bw = new BufferedWriter(new FileWriter(new File(fileName), append)); + bw.write(text); + bw.close(); + } catch (Exception e) { + System.out.println(e.getMessage()); + } + } + + public String ReadFileToString(String fileName) { + String strLine; + try { + FileInputStream fstream = new FileInputStream(fileName); + DataInputStream in = new DataInputStream(fstream); + BufferedReader br = new BufferedReader(new InputStreamReader(in)); + StringBuilder sbuild = new StringBuilder(); + while ((strLine = br.readLine()) != null) { + if (!strLine.isEmpty()) { + sbuild.append(strLine + "\n"); + } + } + in.close(); + return sbuild.toString(); + } catch (Exception e) { + System.err.println("Error: " + e.getMessage()); + } + System.err.println("******************** END of file ****************** "); + return null; + } + } From 418f7e82387817562d26a8fb219d78f5ad652dc9 Mon Sep 17 00:00:00 2001 From: mmazab Date: Tue, 9 Dec 2014 02:06:06 -0500 Subject: [PATCH 5/5] Updates and bug fixes + Concurrent controller --- .../edu/umich/td/controller/Controller.class | Bin 9058 -> 8765 bytes DBProject/files/Test/CPU_1_ALL.test | 113 ++ DBProject/files/Test/CPU_1_PLAN.test | 113 ++ DBProject/files/Test/CPU_1_TEXT.test | 113 ++ DBProject/files/Test/CPU_1_WL.test | 113 ++ DBProject/files/Test/IO_1_ALL.test | 113 ++ DBProject/files/Test/IO_1_PLAN.test | 113 ++ DBProject/files/Test/IO_1_TEXt.test | 113 ++ DBProject/files/Test/IO_1_WL.test | 113 ++ DBProject/files/Training/CPU_1_ALL.train | 1136 ----------------- DBProject/files/Training/CPU_1_PLAN.train | 1136 ----------------- DBProject/files/Training/CPU_1_TEXT.train | 1136 ----------------- DBProject/files/Training/CPU_1_WL.train | 1136 ----------------- DBProject/files/Training/IO_1_ALL.train | 1136 ----------------- DBProject/files/Training/IO_1_PLAN.train | 1136 ----------------- DBProject/files/Training/IO_1_TEXt.train | 1136 ----------------- DBProject/files/Training/IO_1_WL.train | 1136 ----------------- DBProject/files/tmp.feat | 2 +- DBProject/files/tmp.sql | 26 +- DBProject/plan.xml | 63 +- .../td/controller/ConcurrentController.java | 236 ++++ .../umich/td/controller/ConnectionPool.java | 88 ++ .../edu/umich/td/controller/Controller.java | 177 ++- .../src/edu/umich/td/workload/Query.java | 1 + .../umich/td/workload/WorkLoadGenerator.java | 29 +- 25 files changed, 1398 insertions(+), 9216 deletions(-) create mode 100644 DBProject/files/Test/CPU_1_ALL.test create mode 100644 DBProject/files/Test/CPU_1_PLAN.test create mode 100644 DBProject/files/Test/CPU_1_TEXT.test create mode 100644 DBProject/files/Test/CPU_1_WL.test create mode 100644 DBProject/files/Test/IO_1_ALL.test create mode 100644 DBProject/files/Test/IO_1_PLAN.test create mode 100644 DBProject/files/Test/IO_1_TEXt.test create mode 100644 DBProject/files/Test/IO_1_WL.test delete mode 100644 DBProject/files/Training/CPU_1_ALL.train delete mode 100644 DBProject/files/Training/CPU_1_PLAN.train delete mode 100644 DBProject/files/Training/CPU_1_TEXT.train delete mode 100644 DBProject/files/Training/CPU_1_WL.train delete mode 100644 DBProject/files/Training/IO_1_ALL.train delete mode 100644 DBProject/files/Training/IO_1_PLAN.train delete mode 100644 DBProject/files/Training/IO_1_TEXt.train delete mode 100644 DBProject/files/Training/IO_1_WL.train create mode 100644 DBProject/src/edu/umich/td/controller/ConcurrentController.java create mode 100644 DBProject/src/edu/umich/td/controller/ConnectionPool.java diff --git a/DBProject/bin/edu/umich/td/controller/Controller.class b/DBProject/bin/edu/umich/td/controller/Controller.class index 3ca2953f0bb07e8c932f2e258f8c61e93fe73a9d..700fc64732f829fdb18976db5b798f1ca54e9c18 100644 GIT binary patch literal 8765 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

JZa%_pn;EDvWD43 z!%QF?86^Z%TdT54WgK5s&?o6E$)2G|n5J?_2DtQmIv3(JXQSb`Tt7fEoGdvc!*L-R zbT%4}OAd*{CE)Lq8?|HKq#(0SzEXze>>pqVJwkl_7(wzEaRDADH2*Sj&J+Ag=99!M zU*#VQpTcHV?`?RRe?|Km^T*ejKc2xu_y#Gz$MaS!&D*Kr0h)vuRbmGH@aoe8VlklWZR#5~vgayxql7Q22ccd+Nh3fDVwCwo4uas5K>BG&R_ zv+E7HTkc_Px>~*@_Yw`6h{=8Y?|!1GhooH|AR;Q!d2|k3XJ`tOWx0Vlbm;%Zt5fI) b@&vQ*7kCJlJV^Z!2lA4y-Q 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 date '1995-07-01'; + ( + p_partkey = l_partkey + and p_container in ('SM CASE' 'SM BOX' 'SM PACK' 'SM PKG') + ) + or + ( + p_partkey = l_partkey + and p_brand = 'Brand#45' + and p_size between 1 and 10 + and l_shipmode in ('AIR' 'AIR REG') + ) + or + ( + p_partkey = l_partkey + and p_brand = 'Brand#33' + and p_container in ('LG CASE' 'LG BOX' 'LG PACK' 'LG PKG') + and l_quantity >= 23 and l_quantity <= 23 + 10 + ); diff --git a/DBProject/plan.xml b/DBProject/plan.xml index 85fd3cc..33e8cbd 100644 --- a/DBProject/plan.xml +++ b/DBProject/plan.xml @@ -1,13 +1,12 @@ - - + + - @@ -19,6 +18,9 @@ + + + @@ -29,18 +31,22 @@ - + + + + - + + + - - - - + + + - + @@ -78,7 +84,7 @@ - + @@ -87,10 +93,15 @@ - + + + + + + - + @@ -99,13 +110,10 @@ - - - - + - + @@ -119,17 +127,22 @@ - - + + + + + + + - + - + - + @@ -141,7 +154,7 @@ - + @@ -156,7 +169,7 @@ - + diff --git a/DBProject/src/edu/umich/td/controller/ConcurrentController.java b/DBProject/src/edu/umich/td/controller/ConcurrentController.java new file mode 100644 index 0000000..824e6c7 --- /dev/null +++ b/DBProject/src/edu/umich/td/controller/ConcurrentController.java @@ -0,0 +1,236 @@ +/*Author: Mahmoud Azab + * Last Updated: November 2014 + * Controller.java + */ + +package edu.umich.td.controller; + +import java.awt.image.SampleModel; +import java.io.BufferedWriter; +import java.io.File; +import java.io.FileWriter; +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.SQLException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Map; + +import edu.umich.td.database.*; +import edu.umich.td.fextractors.Feature; +import edu.umich.td.fextractors.FeatureCategory; +import edu.umich.td.fextractors.QPlanFeatureExtractor; +import edu.umich.td.fextractors.QTextFeatureExtractor; +import edu.umich.td.fextractors.WKLDFeatureExtractor; +import edu.umich.td.workload.DataInstance; +import edu.umich.td.workload.QueriesPool; +import edu.umich.td.workload.Query; +import edu.umich.td.workload.WorkLoadGenerator; + +public class ConcurrentController { + + public static HashMap timeStampsToQueryFeatures = new HashMap(); + + static int currentConcurrentWorkLoad = 0; + + public static void main(String[] args) { + // 1- Load queries into the query pool from the files + // 5- Read different query batches + // 6- Extract query/workload features + // 7- Get query/workload execution plans + // 8- Extract features from the execution plans + // 9- Execute the returned list of queries from the WL creator + // 10- Collect CPU and I/O usage + + StatsCollector.tables = StatsCollector.GetAllTablesAndCounts("TPCH"); + + int Temp = 0; + int limiter = 0; + int batch_size = 5; + WorkLoadGenerator workloads = new WorkLoadGenerator(); + workloads.ReadWorkLoadFromDirectory("/home/mahmoud/Documents/DB/Data/Workloads/TestWorkloads", batch_size); + + Connection con = TdDatabase.OpenConnection(); + + //ConnectionPool pool = new ConnectionPool(batch_size); + + int K = 0; + for (ArrayList queries : WorkLoadGenerator.wlQueries) { + System.out.println((K++) + "."); + + if (queries.size() == batch_size) { + for (Query q : queries) { + QTextFeatureExtractor qtFeatExtractor = new QTextFeatureExtractor(); + QPlanFeatureExtractor qtPlanFeatExtractor = new QPlanFeatureExtractor(); + q.featureVector.clear(); + q.featureVector.addAll(qtFeatExtractor.ExtractFeatures(q)); + try { + q.featureVector.addAll(qtPlanFeatExtractor.getFeaturesFromPlan(con, q.qText)); + } catch (Exception e) { + System.err.println(q.qText); + System.err.println(e.getMessage()); + } + } + } + + } + + for (ArrayList queries : WorkLoadGenerator.wlQueries) { + if (queries.size() == batch_size) { + try { + Thread.sleep(15000); + } catch (InterruptedException e1) { + // TODO Auto-generated catch block + e1.printStackTrace(); + } + for (Query q : queries) { + System.out.println("=========\tProcessing Query #" + K + "\t=========> " + q.parentFolder + "/" + + q.fileName + "\t features: " + q.featureVector.size()); + + for (int M = 0; M < batch_size; M++) { + Thread t = new Thread(new Runnable() { + public void run() { + // Connection connect = + // ConnectionPool.GetConnection(); + Connection connect; + try { + connect = DriverManager.getConnection(TdDatabase.url, TdDatabase.sUser, + TdDatabase.sPassword); + + for (Query q : WorkLoadGenerator.wlQueries.get(currentConcurrentWorkLoad)) { + if (!q.blocked) { + q.blocked = true; + String query = q.qText; + long timeStamp = System.currentTimeMillis(); + query = query.replaceFirst("\n", "/*Q" + timeStamp + "*/\n"); + boolean status = TdDatabase.ExecuteQuery(connect, query); + DataInstance data = new DataInstance(); + data.features = q.CloneFeatures(); + timeStampsToQueryFeatures.put(timeStamp, data); + } + } + connect.close(); + } catch (SQLException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + + }); + t.start(); + + try { + Thread.sleep(100); + } catch (InterruptedException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + } + } else + limiter++; + } + + try { + Thread.sleep(15000); + } catch (InterruptedException e) { + e.printStackTrace(); + } + System.err.println("Writing Back"); + + WriteDataIntoFile(batch_size, "test"); + + TdDatabase.CloseConnection(con); + + } + + public static void WriteToFile(String fileName, String text, boolean append) { + try { + BufferedWriter bw = new BufferedWriter(new FileWriter(new File(fileName), append)); + bw.write(text); + bw.close(); + } catch (Exception e) { + System.out.println(e.getMessage()); + } + } + + static public String GetPrintableInstance(long C, ArrayList f, int samplesSize, FeatureCategory category) { + + StringBuilder sbuild = new StringBuilder(); + sbuild.append(samplesSize + ","); + for (Feature feature : f) { + if (feature.category != category) + sbuild.append(feature.featureValue + ","); + } + + sbuild.append(C); + return sbuild.toString(); + + } + + public static void WriteDataIntoFile(int samplesSize, String type) { + StringBuilder cpuSbuild_ALL = new StringBuilder(); + StringBuilder ioSbuild_ALL = new StringBuilder(); + + StringBuilder cpuSbuild_TEXT = new StringBuilder(); + StringBuilder ioSbuild_TEXT = new StringBuilder(); + + StringBuilder cpuSbuild_PLAN = new StringBuilder(); + StringBuilder ioSbuild_PLAN = new StringBuilder(); + + StringBuilder cpuSbuild_WL = new StringBuilder(); + StringBuilder ioSbuild_WL = new StringBuilder(); + + Connection statsCon = StatsCollector.OpenConnection(); + + Iterator it = timeStampsToQueryFeatures.entrySet().iterator(); + while (it.hasNext()) { + int[] CpuIo = { 0, 0 }; + Map.Entry pairs = (Map.Entry) it.next(); + CpuIo = StatsCollector.CollectCpuIO(statsCon, "Q" + pairs.getKey()); + DataInstance instance = (DataInstance) pairs.getValue(); + instance.CPU = CpuIo[0]; + instance.IO = CpuIo[1]; + + cpuSbuild_ALL.append(GetPrintableInstance(instance.CPU, instance.features, samplesSize, + FeatureCategory.NULL) + "\n"); + ioSbuild_ALL.append(GetPrintableInstance(instance.IO, instance.features, samplesSize, FeatureCategory.NULL) + + "\n"); + + cpuSbuild_TEXT.append(GetPrintableInstance(instance.CPU, instance.features, samplesSize, + FeatureCategory.QUERYTEXT) + "\n"); + ioSbuild_TEXT.append(GetPrintableInstance(instance.IO, instance.features, samplesSize, + FeatureCategory.QUERYTEXT) + "\n"); + + cpuSbuild_PLAN.append(GetPrintableInstance(instance.CPU, instance.features, samplesSize, + FeatureCategory.QUERYPLAN) + "\n"); + ioSbuild_PLAN.append(GetPrintableInstance(instance.IO, instance.features, samplesSize, + FeatureCategory.QUERYPLAN) + "\n"); + + cpuSbuild_WL.append(GetPrintableInstance(instance.CPU, instance.features, samplesSize, + FeatureCategory.WORKLOAD) + "\n"); + ioSbuild_WL.append(GetPrintableInstance(instance.IO, instance.features, samplesSize, + FeatureCategory.WORKLOAD) + "\n"); + + it.remove(); + } + + WriteToFile("files/Test/IO_" + samplesSize + "_ALL." + type, cpuSbuild_ALL.toString(), true); + WriteToFile("files/Test/CPU_" + samplesSize + "_ALL." + type, ioSbuild_ALL.toString(), true); + + WriteToFile("files/Test/IO_" + samplesSize + "_TEXt." + type, cpuSbuild_ALL.toString(), true); + WriteToFile("files/Test/CPU_" + samplesSize + "_TEXT." + type, ioSbuild_ALL.toString(), true); + + WriteToFile("files/Test/IO_" + samplesSize + "_PLAN." + type, cpuSbuild_ALL.toString(), true); + WriteToFile("files/Test/CPU_" + samplesSize + "_PLAN." + type, ioSbuild_ALL.toString(), true); + + WriteToFile("files/Test/IO_" + samplesSize + "_WL." + type, cpuSbuild_ALL.toString(), true); + WriteToFile("files/Test/CPU_" + samplesSize + "_WL." + type, ioSbuild_ALL.toString(), true); + + StatsCollector.CloseConnection(statsCon); + timeStampsToQueryFeatures.clear(); + + } + +} diff --git a/DBProject/src/edu/umich/td/controller/ConnectionPool.java b/DBProject/src/edu/umich/td/controller/ConnectionPool.java new file mode 100644 index 0000000..c665fc6 --- /dev/null +++ b/DBProject/src/edu/umich/td/controller/ConnectionPool.java @@ -0,0 +1,88 @@ +package edu.umich.td.controller; + +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.SQLException; + +public class ConnectionPool { + + static Connection[] connections; + static boolean[] inUse; + + // Credentials + public static String sUser = "mazab"; + public static String sPassword = "eecs584"; + + public static String url = "jdbc:teradata://ec2-54-164-159-30.compute-1.amazonaws.com"; + + public static Connection Open_Connection(int i) { + try { + try { + Class.forName("com.teradata.jdbc.TeraDriver"); + } catch (ClassNotFoundException e1) { + e1.printStackTrace(); + } + // Attempting to connect to Teradata + connections[i] = DriverManager.getConnection(url, sUser, sPassword); + + } catch (Exception e) { + System.err.println(e.getMessage()); + } + return null; + } + + public ConnectionPool(int poolSize) { + connections = new Connection[poolSize]; + + for(int i=0; i < connections.length; i++){ + + connections[i] = Open_Connection(i); + + } + + inUse = new boolean[poolSize]; + } + + public static boolean OpenConnection(int i) { + try { + if (!connections[i].isClosed()) { + Open_Connection(i); + } + } catch (SQLException e) { + return false; + } + return true; + + } + + public static Connection GetConnection() { + + while (true) { + for (int i = 0; i < inUse.length; i++) { + if (!inUse[i]) { + try { + if (!connections[i].isClosed()) { + return connections[i]; + }else{ + if(OpenConnection(i)) + return connections[i]; + + } + } catch (SQLException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + } + try { + Thread.sleep(100); + } catch (InterruptedException e) { + + e.getMessage(); + return null; + } + + } + } + +} \ No newline at end of file diff --git a/DBProject/src/edu/umich/td/controller/Controller.java b/DBProject/src/edu/umich/td/controller/Controller.java index 2ccb326..0e2cbad 100644 --- a/DBProject/src/edu/umich/td/controller/Controller.java +++ b/DBProject/src/edu/umich/td/controller/Controller.java @@ -32,12 +32,9 @@ public class Controller { public static void main(String[] args) { // 1- Load queries into the query pool from the files - // 2- Run all the queries sequentially to detect each queries behavior - // 3- Cluster queries into 4 categories - // 4- Pass the different query pool to the workload creator - // 5- Create different queries patch of different sizes + // 5- Read different query batches // 6- Extract query/workload features - // 7- Get query/workload XML execution plans + // 7- Get query/workload execution plans // 8- Extract features from the execution plans // 9- Execute the returned list of queries from the WL creator // 10- Collect CPU and I/O usage @@ -46,90 +43,73 @@ public static void main(String[] args) { int Temp = 0; int limiter = 0; + int batch_size = 1; WorkLoadGenerator workloads = new WorkLoadGenerator(); - workloads.ReadWorkLoadsFromDirectory("/home/mahmoud/Documents/DB/Data/Workloads/TestWorkloads"); - - int slice = 0; - while (workloads.wlQueries.size() > 0) { - Connection con = TdDatabase.OpenConnection(); - - ArrayList queries; - for (int K = 0; K < 150 && K < workloads.wlQueries.size(); K++) { - queries = workloads.wlQueries.get(K); - - if (queries.size() == 1) { - System.out.println(K + "."); - for (Query q : queries) { - QTextFeatureExtractor qtFeatExtractor = new QTextFeatureExtractor(); - QPlanFeatureExtractor qtPlanFeatExtractor = new QPlanFeatureExtractor(); - q.featureVector.clear(); - q.featureVector.addAll(qtFeatExtractor.ExtractFeatures(q)); - int size = q.featureVector.size(); - // System.err.println("After text feature extraction: "+ - // q.featureVector.size()); - try { - - q.featureVector.addAll(qtPlanFeatExtractor.getFeaturesFromPlan(con, q.qText)); - // System.err.println("After PLAN feature extraction: " - // + (q.featureVector.size()-size)); - } catch (Exception e) { - System.err.println(q.qText); - System.err.println(e.getMessage()); - } - } + workloads.ReadWorkLoadFromDirectory("/home/mahmoud/Documents/DB/Data/Workloads/TrainingWorkloads", batch_size); + + Connection con = TdDatabase.OpenConnection(); + + int K = 0; + for (ArrayList queries : WorkLoadGenerator.wlQueries) { + + for (Query q : queries) { + System.out.println(K++ + "."); + QTextFeatureExtractor qtFeatExtractor = new QTextFeatureExtractor(); + QPlanFeatureExtractor qtPlanFeatExtractor = new QPlanFeatureExtractor(); + q.featureVector.clear(); + q.featureVector.addAll(qtFeatExtractor.ExtractFeatures(q)); + try { + q.featureVector.addAll(qtPlanFeatExtractor.getFeaturesFromPlan(con, q.qText)); + } catch (Exception e) { + System.err.println(q.qText); + System.err.println(e.getMessage()); } - } + } + int Counter = 0; + for (ArrayList queries : WorkLoadGenerator.wlQueries) { + + if (queries.size() == batch_size) { + for (Query q : queries) { + System.out.println("=========\tProcessing Query #" + Counter++ + "\t=========> " + q.parentFolder + + "/" + q.fileName + "\t features: " + q.featureVector.size()); + + String query = q.qText; + + long timeStamp = System.currentTimeMillis(); + query = query.replaceFirst("\n", "/*Q" + timeStamp + "*/\n"); + boolean status = TdDatabase.ExecuteQuery(con, query); + + // Query failed to execute properly + if (!status) { + q.status = false; + } else { + // Add time stamp to the query so that we can + // retrieve + // it + // later + DataInstance data = new DataInstance(); + data.features = q.CloneFeatures(); + timeStampsToQueryFeatures.put(timeStamp, data); - for (int K = 0; K < 150 && K < workloads.wlQueries.size(); K++) { - queries = workloads.wlQueries.get(K); - ArrayList failedQueries = new ArrayList(); - - if (queries.size() == 1 && limiter > Temp) { - int i = 0; - for (Query q : queries) { - System.out.println("=========\tProcessing Query #" + K + "\t=========> " + q.parentFolder - + "/" + q.fileName + "\t features: " + q.featureVector.size()); - - String query = queries.get(i).qText; - - long timeStamp = System.currentTimeMillis(); - query = query.replaceFirst("\n", "/*Q" + System.currentTimeMillis() + "*/\n"); - boolean status = TdDatabase.ExecuteQuery(con, query); - - // Query failed to execute properly - if (!status) { - failedQueries.add(i); - } else { - // Add time stamp to the query so that we can - // retrieve - // it - // later - DataInstance data = new DataInstance(); - data.features = q.CloneFeatures(); - timeStampsToQueryFeatures.put(timeStamp, data); - - } - i++; } - } else - limiter++; - } - try { - Thread.sleep(15000); - } catch (InterruptedException e) { - e.printStackTrace(); - } - System.err.println("Writing Back"); - if (limiter > Temp) - WriteDataIntoFile(1, "test"); - int l = 0; - while (workloads.wlQueries.size() > 0 && l < 150 && l < workloads.wlQueries.size()) { - workloads.wlQueries.remove(l); - l++; - } - TdDatabase.CloseConnection(con); + + } + } else + limiter++; + } + try { + Thread.sleep(15000); + } catch (InterruptedException e) { + e.printStackTrace(); + } + System.err.println("Writing Back"); + + WriteDataIntoFile(batch_size, "test"); + + + TdDatabase.CloseConnection(con); } @@ -148,8 +128,19 @@ static public String GetPrintableInstance(long C, ArrayList f, int samp StringBuilder sbuild = new StringBuilder(); sbuild.append(samplesSize + ","); for (Feature feature : f) { - if (feature.category != category) - sbuild.append(feature.featureValue + ","); + + if (category == FeatureCategory.QUERYPLAN) { + + if (feature.category == FeatureCategory.WORKLOAD || feature.category == FeatureCategory.SYSTEMSTATUS + || feature.category == FeatureCategory.QUERYTEXT + || feature.category == FeatureCategory.QUERYPLAN) + sbuild.append(feature.featureValue + ","); + + } else { + + if (feature.category != category) + sbuild.append(feature.featureValue + ","); + } } sbuild.append(C); @@ -204,17 +195,17 @@ public static void WriteDataIntoFile(int samplesSize, String type) { it.remove(); } - WriteToFile("files/Test/IO_" + samplesSize + "_ALL." + type, cpuSbuild_ALL.toString(), true); - WriteToFile("files/Test/CPU_" + samplesSize + "_ALL." + type, ioSbuild_ALL.toString(), true); + WriteToFile("files/Train/IO_" + samplesSize + "_ALL." + type, cpuSbuild_ALL.toString(), true); + WriteToFile("files/Train/CPU_" + samplesSize + "_ALL." + type, ioSbuild_ALL.toString(), true); - WriteToFile("files/Test/IO_" + samplesSize + "_TEXt." + type, cpuSbuild_ALL.toString(), true); - WriteToFile("files/Test/CPU_" + samplesSize + "_TEXT." + type, ioSbuild_ALL.toString(), true); + WriteToFile("files/Train/IO_" + samplesSize + "_TEXt." + type, cpuSbuild_ALL.toString(), true); + WriteToFile("files/Train/CPU_" + samplesSize + "_TEXT." + type, ioSbuild_ALL.toString(), true); - WriteToFile("files/Test/IO_" + samplesSize + "_PLAN." + type, cpuSbuild_ALL.toString(), true); - WriteToFile("files/Test/CPU_" + samplesSize + "_PLAN." + type, ioSbuild_ALL.toString(), true); + WriteToFile("files/Train/IO_" + samplesSize + "_PLAN." + type, cpuSbuild_ALL.toString(), true); + WriteToFile("files/Train/CPU_" + samplesSize + "_PLAN." + type, ioSbuild_ALL.toString(), true); - WriteToFile("files/Test/IO_" + samplesSize + "_WL." + type, cpuSbuild_ALL.toString(), true); - WriteToFile("files/Test/CPU_" + samplesSize + "_WL." + type, ioSbuild_ALL.toString(), true); + WriteToFile("files/Train/IO_" + samplesSize + "_WL." + type, cpuSbuild_ALL.toString(), true); + WriteToFile("files/Train/CPU_" + samplesSize + "_WL." + type, ioSbuild_ALL.toString(), true); StatsCollector.CloseConnection(statsCon); timeStampsToQueryFeatures.clear(); diff --git a/DBProject/src/edu/umich/td/workload/Query.java b/DBProject/src/edu/umich/td/workload/Query.java index c1096d9..f57e6fb 100644 --- a/DBProject/src/edu/umich/td/workload/Query.java +++ b/DBProject/src/edu/umich/td/workload/Query.java @@ -16,6 +16,7 @@ public class Query { public String parentFolder = ""; public boolean written = false; public boolean status = true; + public boolean blocked = false; public Query(String text) { this.qText = text; } diff --git a/DBProject/src/edu/umich/td/workload/WorkLoadGenerator.java b/DBProject/src/edu/umich/td/workload/WorkLoadGenerator.java index a5bf3b9..245cf9c 100644 --- a/DBProject/src/edu/umich/td/workload/WorkLoadGenerator.java +++ b/DBProject/src/edu/umich/td/workload/WorkLoadGenerator.java @@ -23,7 +23,7 @@ public class WorkLoadGenerator { int samplesCnt = 0; //The generated Workload Queries - public ArrayList> wlQueries; + public static ArrayList> wlQueries; // Random variable to select which pool to grab from and how many queries to be grabbed static Random whichPool = new Random(); @@ -182,8 +182,33 @@ public void ReadWorkLoadsFromDirectory(String directory) { wlQueries.add(concurrentQueriesList); } } + } + + + public void ReadWorkLoadFromDirectory(String directory,int size) { + File queriesFolder = new File(directory); + File[] qDirectories = queriesFolder.listFiles(); - + for (int i = 0; i < qDirectories.length; i++) { + if (qDirectories[i].isDirectory()) { + File[] queries = qDirectories[i].listFiles(); + String dictName = qDirectories[i].getName(); + ArrayList concurrentQueriesList = new ArrayList(); + for (int j = 0; j < queries.length; j++) { + + if (queries[j].getName().endsWith(".sql")) { + String query = ReadFileToString(queries[j].getAbsolutePath()); + Query q = new Query(query); + q.fileName = queries[j].getName(); + q.parentFolder = dictName; + concurrentQueriesList.add(q); + } + } + + if(concurrentQueriesList.size() == size) + wlQueries.add(concurrentQueriesList); + } + } } public void WriteWorkloadsToDisk(String targetDirectory){