Difference between revisions of "User:Stattrav/GSoC2012 log"

From BRL-CAD
m (Updation of logs for day 22)
m
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
===22 May 2012===
+
===22 August 2012===
* Made progress with the parser.
+
* Tried running the bottle app on multi-threaded and asynchronous servers. Tested out Tornado. Currently running on python-paste
* Code layout in terms of the folders was decided upon and is as follows:
 
  svnroot/brlcad/web/trunk/benchmark
 
                                    |_ scripts
 
                                              |_ parser.py
 
                                    |_ sql
 
                                          |_ benchmark_db.sql
 
  
===21 May 2012===
+
===20 August 2012===
* Completed the [http://sourceforge.net/tracker/?func=detail&aid=3528693&group_id=105292&atid=640804| patch] for the bench/pixcmp.c. Preliminary testing done. Benchmark script executes without fail. Waiting for Sean to approve and say if that is what is really wanted.
+
* Documentation
brlcad-build → bin/pixcmp -d4 ../brlcad/pix/moss.pix ../brlcad/pix/moss_new.pix
 
pixcmp pixels: 262140 matching, 4 off by 4, 0 off by many
 
  
brlcad-build → bin/pixcmp -d2 ../brlcad/pix/moss.pix ../brlcad/pix/moss.pix
+
===17-19 August 2012===
pixcmp pixels: 262144 matching, 0 off by 2, 0 off by many
+
* Rolled out the crude website which is hosted at http://88.198.223.105:8080/
 +
* Upload page working on the localhost but buggy on the VPS
 +
* Documentation
 +
* Full of bugs, project immature
  
brlcad-build → bin/pixcmp -d2 ../brlcad/pix/moss.pix ../brlcad/pix/moss_new.pix
+
=== 15-16 August 2012 ===
pixcmp pixels: 262140 matching, 4 off by 2, 0 off by many
+
* Added views for the plots and configured the output to be presented via the template in the view
 +
* Made changes to existing folder structure for the Bottle app to run
 +
* Configured and made a run_server.py script
 +
* Source is at https://bitbucket.org/suryajith/benchmark/src
 +
* Awaiting Dr.Rai's perusal of the patches.
 +
[[Image:absavgperfvsimagescomb.png|900px]]
 +
[[Image:absavgperfvsimages2.png|900px]]
 +
[[Image:absavgperfvsimages1.png|900px]]
 +
[[Image:absavgperfvsarchpermhz.png|900px]]
 +
[[Image:absavgperfvsarch.png|900px]]
  
brlcad-build → bin/pixcmp -d1 ../brlcad/pix/moss.pix ../brlcad/pix/moss_new.pix
 
pixcmp pixels: 262140 matching, 2 off by 1, 2 off by many
 
  
brlcad-build → bin/pixcmp ../brlcad/pix/moss.pix ../brlcad/pix/moss_new.pix
+
===12-14 August 2012===
pixcmp pixels: 262140 matching, 2 off by 1, 2 off by many 
+
* Necessary changes in the db structure for the data needed for graphs
 +
* Necessary changes to the Parser script
 +
* Implemented
 +
** Absolute Performance vs Reference images over various architectures
 +
** Average Performance vs Architectures
 +
** Average Performance per CPU MHz vs Architectures
 +
** Absolute Performance vs CPU over various architectures
 +
** Absolute Performance vs CPU over various images for specific architecture
 +
* Forms for comparision between various architectures
 +
* Three modes of data displayed : text, table, graph
 +
* Below are some examples of the graphs generated from the data in the database
 +
[[Image:Perfvsimages.png|900px]]
 +
[[Image:absavgperfpermhz.png|900px]]
 +
[[Image:Absavgperf.png|900px]]
  
* Started writing the log parser.
+
===8-11 August 2012===
 +
* MVC framework using bottle
 +
* Developed controllers for upload and basic charting libraries
 +
* Charting libraries : Wrapper over the GCharts by generating and thus embedding the js code
  
===18 May 2012===
+
===1-6 August 2012===
* Started looking into the issue which Sean mentioned which is related to pixcmp and found nothing there. Sean later found out that the bug was in the pixdiff utilty.
+
* More failed attempts at working with mediawiki
* Amidst this, I found that after the recent (svn) update of the code the benchmark test for sphflake was failing. I then spent time on figuring out(using binary search) the bug and found that r50582 was responsible for the same.
 
  
===17 May 2012===
+
===28-29 July 2012===
* Working on a patch for the bench/pixcmp.c functionality.
+
* Implemented a custom form renderer.
 +
* Results to be integrated.
  
===15 May 2012===
+
===21 July 2012===
* Set up a dummy database without much changes to the schema mentioned as a part of the proposal and then started writing crude parser scripts in python.
+
* Realized that simpleforms do not help much and have begun writing the forms natively in PHP.
* Setup thrift on my machine. Had faced few difficulties setting it up with php 5.4.3 and Python 3.2 The issues with php 5.4.3 were resolved but the ones with Python 3.2 were quite a few specially related to the syntactic changes during the transition from 2.x to 3.x. Downgraded python to 2.7.3 and completed the setup. Yet to test the interlanguage communication. Shall do it tomorrow.
 
  
===14 May 2012===
+
===20 July 2012===
* Experimenting with regexes for the benchmark log parsing.
+
* Still figuring out the forms and the implementation of the actions
  
===13 May 2012===
+
===17-18 July 2012===
* Moved from ubuntu 12.04 which I did not really like to Archlinux and setup the work environment.  
+
* Playing around with the Simple forms extension. Naive html forms wouldn't help as the action can't be hard coded.
 +
* It has some issues with mediawiki 1.20(alpha) due to some deprecations in the mediawiki codebase but figured out a few of them.
  
===12 May 2012===
 
  
* Set up mediawiki on the local machine and then was experimenting with the api.php of mediawiki.
+
===11-12 July 2012===
 +
* Upload form on the special page.
 +
* Read up on Google charts embedding. Thoughts on the features required for the frontend.
  
===9 May 2012===
+
===9-10 July 2012===
* Continued experimentation with the benchmark script and finally understood what each part of the code does.
+
* Documentation and fixing the flow. logging cleanup.
* Working on a back-end design (Sent in a mail to the developer mailing list). Shall start working on the db design.
+
* Frontend
  
 +
===5 July 2012===
 +
* Read up the forms implementation for the frontend of mediawiki extension
  
===8 May 2012===
+
===3 July 2012===
* Continued experimentation with benchmark script and attempting to create the first patch by fixing the following block in the run.sh script.
+
* Web API set up. Mail has been sent to the mailing list asking folks to submit the logs through the API and mail.
 +
* Documentation, implement logging through out.
 +
* Read up about frontend forms for upload and data request.
 +
* The frontend is being setup through a special page which is the view part of the  mediawiki extension.
  
    # FIXME: should really iterate one file at a time so we don't
+
===1 July 2012===
    # just zero-pad at the end
+
* Setting the demo server up. It is hosted at http://88.198.223.105 and that is being configured now for the demo purposes.
    perf_VGRREF=`grep RTFM $perf_ref_files | sed -n -e 's/^.*= *//' -e 's/ rays.*//p' | tr '\012' '\011' `
+
* Documentation of the work
    perf_CURVALS=`grep RTFM $perf_cur_files | sed -n -e 's/^.*= *//' -e 's/ rays.*//p' | tr '\012' '\011' `
 
  
* Working on a set of questions for design discussions.
+
===30 Jun 2012===
 +
* Integrating all the things worked on. Testing the process.
  
 
+
===29 Jun 2012===
 
+
*
===7 May 2012===
 
* Still looking into benchmark script and experimenting with that.
 
 
 
 
 
===4 May 2012===
 
* Compiled the brlcad(r50443) on my new setup of Ubuntu 12.04. Installation went on smoothly when librtserver JDK support was disabled.(I was trying various options during compilation.) When turned on, there were the error of it not being able to find jni.h even though the paths were fine. Looking into it at the moment.
 
* Could not understand why cmake was looking for STDCXX libs.
 
* Ran the benchmark on the machine and sent the report to benchmark@brlcad.org
 
* Started looking into the run.sh script to figure out how it really works.
 

Latest revision as of 09:20, 22 August 2012

22 August 2012[edit]

  • Tried running the bottle app on multi-threaded and asynchronous servers. Tested out Tornado. Currently running on python-paste

20 August 2012[edit]

  • Documentation

17-19 August 2012[edit]

  • Rolled out the crude website which is hosted at http://88.198.223.105:8080/
  • Upload page working on the localhost but buggy on the VPS
  • Documentation
  • Full of bugs, project immature

15-16 August 2012[edit]

  • Added views for the plots and configured the output to be presented via the template in the view
  • Made changes to existing folder structure for the Bottle app to run
  • Configured and made a run_server.py script
  • Source is at https://bitbucket.org/suryajith/benchmark/src
  • Awaiting Dr.Rai's perusal of the patches.

Absavgperfvsimagescomb.png Absavgperfvsimages2.png Absavgperfvsimages1.png Absavgperfvsarchpermhz.png Absavgperfvsarch.png


12-14 August 2012[edit]

  • Necessary changes in the db structure for the data needed for graphs
  • Necessary changes to the Parser script
  • Implemented
    • Absolute Performance vs Reference images over various architectures
    • Average Performance vs Architectures
    • Average Performance per CPU MHz vs Architectures
    • Absolute Performance vs CPU over various architectures
    • Absolute Performance vs CPU over various images for specific architecture
  • Forms for comparision between various architectures
  • Three modes of data displayed : text, table, graph
  • Below are some examples of the graphs generated from the data in the database

Perfvsimages.png Absavgperfpermhz.png Absavgperf.png

8-11 August 2012[edit]

  • MVC framework using bottle
  • Developed controllers for upload and basic charting libraries
  • Charting libraries : Wrapper over the GCharts by generating and thus embedding the js code

1-6 August 2012[edit]

  • More failed attempts at working with mediawiki

28-29 July 2012[edit]

  • Implemented a custom form renderer.
  • Results to be integrated.

21 July 2012[edit]

  • Realized that simpleforms do not help much and have begun writing the forms natively in PHP.

20 July 2012[edit]

  • Still figuring out the forms and the implementation of the actions

17-18 July 2012[edit]

  • Playing around with the Simple forms extension. Naive html forms wouldn't help as the action can't be hard coded.
  • It has some issues with mediawiki 1.20(alpha) due to some deprecations in the mediawiki codebase but figured out a few of them.


11-12 July 2012[edit]

  • Upload form on the special page.
  • Read up on Google charts embedding. Thoughts on the features required for the frontend.

9-10 July 2012[edit]

  • Documentation and fixing the flow. logging cleanup.
  • Frontend

5 July 2012[edit]

  • Read up the forms implementation for the frontend of mediawiki extension

3 July 2012[edit]

  • Web API set up. Mail has been sent to the mailing list asking folks to submit the logs through the API and mail.
  • Documentation, implement logging through out.
  • Read up about frontend forms for upload and data request.
  • The frontend is being setup through a special page which is the view part of the mediawiki extension.

1 July 2012[edit]

  • Setting the demo server up. It is hosted at http://88.198.223.105 and that is being configured now for the demo purposes.
  • Documentation of the work

30 Jun 2012[edit]

  • Integrating all the things worked on. Testing the process.

29 Jun 2012[edit]