User Tools

Site Tools


parafetch

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

parafetch [2011/04/19 06:18]
sbwood
parafetch [2012/01/10 00:44] (current)
wikihelp007
Line 1: Line 1:
 + E-rauchen tut nicht  nicht geruchlos sein.  Das kannst du hier nachlesen   [[http://www.elektrische-zigaretten-kaufen.info/|e Zigarette]]  .  Elektro Zigaretten  sollen nicht schädlich sein.  Deshalb kannst du es ja mal versuchen. 
 ====== paraFetch ====== ====== paraFetch ======
  
Line 22: Line 23:
 </code> </code>
  
-Edit ~/nginx/conf/nginx.conf to use port 55555.+Edit ~/nginx/conf/nginx.conf to use port 8080. 
 + 
 +In order to use more than 50 streams you must edit the paraFetch source and recompile. To do this for x86_64, with 600 streams: 
 + 
 +1. Download the kent source 
 +<code> 
 +git clone git://genome-source.cse.ucsc.edu/kent.git  
 +</code> 
 + 
 + 
 +2. Edit lines 1804-1808 in "kent/src/lib/net.c": 
 + 
 +<code> 
 +if (numConnections > PARCONN)/* ignore high values for numConnections */ 
 +    { 
 +    warn("Currently maximum number of connections is %d. You requested %d. Will proceed with %d on %s",PARCONN, numConnections, PARCONN, url); 
 +    numConnections = PARCONN; 
 +    } 
 +</code> 
 + 
 +3. Add a #define at the top of "kent/src/lib/net.c": 
 + 
 +<code> 
 +#define PARCONN 600   /*This is the maximum no. of parallel streams supported*/ 
 +</code> 
 + 
 +4. Compile the common libraries for x86_64 (jkweb.a): 
 + 
 +<code> 
 +cd kent/src/lib/ 
 +make x86_64/jkweb.a 
 +</code> 
 + 
 +5. Compile paraFetch: 
 + 
 +<code> 
 +cd kent/src/utils/paraFetch/ 
 +make 
 +</code> 
 + 
 +6. Copy from your bin: 
 + 
 +<code> 
 +cp ~/bin/x86_64/paraFetch ~/ 
 +</code>
  
  
parafetch.1303193927.txt.gz · Last modified: 2011/04/19 06:18 by sbwood