Bitcoin Forum
December 03, 2016, 08:04:06 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 [435] 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2029111 times)
windpath
Legendary
*
Offline Offline

Activity: 938


View Profile WWW
May 21, 2014, 06:00:40 PM
 #8681

Hey folks!

I'm working on code moving a bunch of P2Pools data in to a MySQL DB so that node statistics may be tracked longer, persisted over process restarts, and displayed more efficiently.

Question about shares:

Can I trust a share (i.e. "01b6db51") to be unique for all time?

My suspicion is that I can not, but before I add the overhead of checking the share + share time rather then just the share I figured I'd ask Wink

Thanks.

1480795446
Hero Member
*
Offline Offline

Posts: 1480795446

View Profile Personal Message (Offline)

Ignore
1480795446
Reply with quote  #2

1480795446
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
jjw
Newbie
*
Offline Offline

Activity: 3


View Profile
May 21, 2014, 06:59:31 PM
 #8682

Looking forward to a 2-4 block surge when our luck comes back Smiley

Seriously though, over time it does even out, and generally p2pool comes out on top.

Leaving the pool during a long downturn (like 3-5 days, we are at 3 now) is like throwing the baby out with the bath water.

Luck, like anything else in life, is bound to change.

After a long streak of bad luck we typically see a long streak of _ _ _ _ luck Smiley

Yeah, I know.  I've never been particularly troubled by the pool variance.  Really have just shrugged off the pool's long downturns and try not to get *too* excited when we find 2+ blocks per day.

My concerns are over share finding.  I'm finding that far more difficult to diagnose.  Not sure if my poor profitability over the past 20 days is just variance related or something more nefarious.  I think I'll stick around P2Pool solely for the challenge of figuring things out.  Smiley

Sadly my sole Antminer S1 does not generate shares fast enough to satisfy my data driven nature.  In the past week I've had an orphan rate of 14%, yet the previous week I had an orphan rate of 3.5%.  Unfortunately, by the time I get a statistically significant data set to work with the S1 will be relegated to the scrapheap.

The simple, and somewhat tempting, solution is to buy 9 more of them.  Smiley
phillipsjk
Legendary
*
Offline Offline

Activity: 1008

Let the chips fall where they may.


View Profile WWW
May 22, 2014, 03:13:23 AM
 #8683

Can I trust a share (i.e. "01b6db51") to be unique for all time?

My suspicion is that I can not, but before I add the overhead of checking the share + share time rather then just the share I figured I'd ask Wink

Thanks.

If it is a 256bit hash, the answer is likely yes. It is unknown how long "all of time" is going to be.

Edit: checked the share explorer on one of the public nodes, and the hash appears to be 64 hex digits (256 bit). You would need 2128 shares trial hashes to get a 50% chance of a collision. (Insert sun picture here)

James' OpenPGP public key fingerprint: EB14 9E5B F80C 1F2D 3EBE  0A2F B3DE 81FF 7B9D 5160
zvs
Legendary
*
Offline Offline

Activity: 1386



View Profile WWW
May 22, 2014, 06:30:01 PM
 #8684


Hi phillipsjk,

I'm aware of the block size change in the 0.9.* clients; however, I'm not sure that would explain the latency spikes that are currently happening.  I've had 0.9.1 installed and running since release and it is only within the past few days that the latency has gone haywire.  My normal latency is ~0.4s, which by itself isn't that good since guys running the entire thing in a RAM drive get ~.02s.  In the past 2 days, the latency has spent many hours of ~1s latency.  It isn't only my node, either.  Nothing has changed on my end in terms of hardware/software/load/network traffic/etc.  Even if something had changed on my end, it wouldn't be reflected across multiple nodes on the network.


I wish... I'm 100% SSD, have the same latency issue as the rest of us...



Probably someone sending some godawful amount of 'priority' transactions w/ zero fee that sometimes take a while to get into blocks.  Your bitcoind client will accept them all unless you've configured it differently..

I remember when all those horsestaplebattery (sp?) transactions were fubar'ing a lot of p2pools

Dacentec, best deals for US dedicated servers. They regularly restock $20-$25 Opterons with 8-16GB RAM & 2x1-2TB HDD's (ofc, usually lots of other good stuff to choose from).  I did a Serverbear benchmark of one of my $20/mo Opteron (June last year), it's here.  Have had about a half dozen different servers with Dacentec, & none have failed to sustain at least 40MB/s (burst higher). My favorite is a 12-month rent-to-own ZT Systems 2XL5520 16GB 2x2TB SATA for $40/month (got lucky with the 'off-brand', haven't seen a RTO 2xL5520 for under $50/mo since -- at least for monthly contracts).  wholesaleinternet.com has some ancient 2-core intel CPUs @ $10/mo sometimes (I got an Intel Core 2 6300 @ 1.86GHz, with a 250GB HDD with 46000 hours on it, LOL. $20 @ Dacentec is much better, if you can grab one). joesdatacenter.com (same location as Wholesale Internet) also occasionally has specials (or if you don't want to wait, it has an AMD Opteron 170 @ $16/mo).
windpath
Legendary
*
Offline Offline

Activity: 938


View Profile WWW
May 22, 2014, 09:43:37 PM
 #8685


Hi phillipsjk,

I'm aware of the block size change in the 0.9.* clients; however, I'm not sure that would explain the latency spikes that are currently happening.  I've had 0.9.1 installed and running since release and it is only within the past few days that the latency has gone haywire.  My normal latency is ~0.4s, which by itself isn't that good since guys running the entire thing in a RAM drive get ~.02s.  In the past 2 days, the latency has spent many hours of ~1s latency.  It isn't only my node, either.  Nothing has changed on my end in terms of hardware/software/load/network traffic/etc.  Even if something had changed on my end, it wouldn't be reflected across multiple nodes on the network.


I wish... I'm 100% SSD, have the same latency issue as the rest of us...



Probably someone sending some godawful amount of 'priority' transactions w/ zero fee that sometimes take a while to get into blocks.  Your bitcoind client will accept them all unless you've configured it differently..

I remember when all those horsestaplebattery (sp?) transactions were fubar'ing a lot of p2pools

Thanks zvs, that's not it, I tried setting mintxfee and minrelaytxfee and the spikes still occur...

IYFTech
Hero Member
*****
Offline Offline

Activity: 686


WANTED: Active dev to fix & re-write p2pool in C


View Profile
May 22, 2014, 09:47:02 PM
 #8686

No issues here - with bog standard bitcoind settings.


-- Smiley  Thank you for smoking  Smiley --  If you paid VAT to dogie for items you should read this thread:  https://bitcointalk.org/index.php?topic=1018906.0
windpath
Legendary
*
Offline Offline

Activity: 938


View Profile WWW
May 22, 2014, 10:07:39 PM
 #8687

No issues here - with bog standard bitcoind settings.



Mine has calmed down a little, but still not seeing that nice flat .20s latency I had before....

Updated graph:

windpath
Legendary
*
Offline Offline

Activity: 938


View Profile WWW
May 22, 2014, 10:16:06 PM
 #8688


I've now got all shares submitted by my node in a nice fast DB.

They are reported for the node on the main page, and per miner on the miner dashboard page, below is a shot from the miner dashboard. I'm going to do the same for blocks next...


norgan
Sr. Member
****
Offline Offline

Activity: 308

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
May 22, 2014, 11:55:30 PM
 #8689


I've now got all shares submitted by my node in a nice fast DB.

They are reported for the node on the main page, and per miner on the miner dashboard page, below is a shot from the miner dashboard. I'm going to do the same for blocks next...



nice! care to share or collaborate on my front end? would love to be able to display more stats persisted over restarts etc.

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
windpath
Legendary
*
Offline Offline

Activity: 938


View Profile WWW
May 23, 2014, 01:34:52 AM
 #8690


I've now got all shares submitted by my node in a nice fast DB.

They are reported for the node on the main page, and per miner on the miner dashboard page, below is a shot from the miner dashboard. I'm going to do the same for blocks next...

nice! care to share or collaborate on my front end? would love to be able to display more stats persisted over restarts etc.

I'm happy to share everything I'm doing....

This code is not optimized and is likely still buggy, the nice thing is it only affects the front end, so bugs will not hamper mining in any way. Any contributions or suggestions are appreciated.

At some point I may clean everything up and post to GitHub, but that is a ways off....

This was written for a LAMP stack, should work on other platforms, but untested....

You will also need to move your p2pool "front end" and logfile to a directory accessible by your web server and where php can run.

The included CRUD class is here: http://www.phpro.org/classes/PDO-CRUD.html

MySQL DB Table:

Code:
--
-- Table structure for table `found_shares`
--

CREATE TABLE IF NOT EXISTS `found_shares` (
  `id` int(11) NOT NULL,
  `address` varchar(34) NOT NULL,
  `share` varchar(15) NOT NULL,
  `time` datetime NOT NULL,
  `doa` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB  DEFAULT CHARSET=utf8;

--
-- Indexes for table `found_shares`
--
ALTER TABLE `found_shares`
 ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for table `found_shares`
--
ALTER TABLE `found_shares`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
I will probably add an index for the address and time columns.

Cron job that populates the DB, set to run every minute:

Code:
<?php
// ******************************************** //
// P2Pool to MySQL
// File: cron.php
// Author: Ian T. (bitcointalk: windpath)
// Web: http://www.CoinCadence.com
// Sample: http://mining.CoinCadence.com
// ******************************************** //

// Error reporting (should be commented out when live)
//ini_set('display_startup_errors',1);
//ini_set('display_errors',1);
//error_reporting(-1);

// ******************************************** //
// Set below variables
// ******************************************** //

// MySQL Database
$THE_HOST "DB_HOST"
$THE_USER "DB_USER"
$THE_PWD "DB_PWD"
$THE_DB "DB_DB"

// Path to P2Pool log
// Must be readable and writable by PHP
// Custom P2Pool log location can be set when starting P2Pool. Example:
// --logfile /path/to/log/p2pool
// !! --> Make sure it is not publicly readable <-- !!
$log_path '/path/to/log/p2pool';

// ******************************************** //
// Edit past here at your own risk...
// ******************************************** //

// Pattern to match
$share_pattern '/GOT\ SHARE/';

// ******************************************** //
// set up crud DB class
// ******************************************** //
include 'crud.php';
$crud = new crud();
$setDsn "mysql:dbname=".$THE_DB.";host=".$THE_HOST;
$crud->dsn $setDsn;
$crud->username $THE_USER;
$crud->password $THE_PWD;

// ******************************************** //
// Function Calls
// ******************************************** //
getShares($share_pattern$log_path);
maintainFile($log_path);

// ******************************************** //
// Functions 
// ******************************************** //
function maintainFile($log_path)
{
    if (
filesize($log_path) > 25000000// 25MB
    
{
        
$log_backup $log_path.time().".bak";
rename ($log_path$log_backup);
    }
    return;
}

function 
getShares($share_pattern$log_path)
{
    
$values = array();
    
$result preg_grep($share_patternfile($log_path));
    if (
$result != NULL
    {
        
$rawShares array_reverse($result);
$shareCount count($rawShares);
$x $shareCount;
foreach($rawShares as $share)
        {
            if (
$x 0
            {
                
$pieces explode(" "$share);
$shareDate $pieces[0]." ".$pieces[1];
$shareMiner $pieces[4];
$shareShare $pieces[5];
if (isset($pieces[10])) { $shareDoa 1; } else { $shareDoa 0; }
if(testShare($shareShare$shareDate) == false)
{
    $values[] = array('address'=>$shareMiner'share'=>$shareShare'time'=>$shareDate'doa'=>$shareDoa);
}
                
$x--;
            }
}
insertShares($values);
    }
}

function 
insertShares($values)
{
    if(!empty(
$values)) 
    {
        global 
$crud;
        
$crud->dbInsert('found_shares'$values);
    }


function 
testShare($shareShare$shareDate)
{
    global 
$crud;
    
$sql "SELECT * FROM `found_shares` WHERE `share` = '".$shareShare."' AND `time` = '".$shareDate."'";
    
$records $crud->rawSelect($sql);
    
$shares $records->fetchAll(PDO::FETCH_ASSOC);
    if(empty(
$shares)) { return false; } else { return true; }   
}
?>

A lot to do, but for sure clean up the .bak log files after X time, cache added shares, structure as a class, include blocks, etc...

Front end:
This still needs a lot of work, presentation needs to be removed from logic...

Display Shares, this file is "included" in the front end and dumps out a formatted HTML table for now:
Code:
<?php
// ******************************************** //
// P2Pool to MySQL
// File: shares.php Web Share Explorer
// Author: Ian T. (bitcointalk: windpath)
// Web: http://www.CoinCadence.com
// Sample: http://mining.CoinCadence.com
// ******************************************** //

// Error reporting (should be commented out when live)
//ini_set('display_startup_errors',1);
//ini_set('display_errors',1);
//error_reporting(-1);

// ******************************************** //
// Set below variables
// ******************************************** //

// MySQL Database
$THE_HOST "DB_HOST"
$THE_USER "DB_USER"
$THE_PWD "DB_PWD"
$THE_DB "DB_DB"

// ******************************************** //
// Edit past here at your own risk...
// ******************************************** //

// ******************************************** //
// set up crud DB class
// ******************************************** //
include 'crud.php';
$crud = new crud();
$setDsn "mysql:dbname=".$THE_DB.";host=".$THE_HOST;
$crud->dsn $setDsn;
$crud->username $THE_USER;
$crud->password $THE_PWD;

$records $crud->rawSelect('SELECT SQL_CALC_FOUND_ROWS * FROM found_shares ORDER BY time DESC LIMIT 20');
$rows $records->fetchAll(PDO::FETCH_ASSOC);
$count =  $crud->rawSelect("SELECT FOUND_ROWS()");
$totalRows $count->fetch(PDO::FETCH_ASSOC);

echo 
"1 - ".count($rows)." of ".$totalRows['FOUND_ROWS()']." Shares";
echo 
'<table><thead><tr><th>Age</th><th>Bitcoin Address</th><th>Share</th><th>Status</th></tr></thead><tbody>';
foreach(
$rows as $row)
{
    
$time strtotime($row['time']);
    
$timeSince humanTiming($time);
    
$shareMiner $row['address'].' <a href="https://blockchain.info/address/'.$row['address'].'" TARGET="_NEW">(view)</a>';
    
$shareShare $row['share'];
    if(
$row['doa'] == 0) { $shareStatus 'accepted'; } else { $shareStatus 'DOA'; }
    echo 
"<tr><td>$timeSince ago</td><td>$shareMiner</td><td>$shareShare</td><td>$shareStatus</td></tr>";
}
echo 
'</tbody></table>';

function 
humanTiming ($time)
{
    
$time time() - $time// to get the time since that moment
    
$tokens = array (
        
31536000 => 'year',
        
2592000 => 'month',
        
604800 => 'week',
        
86400 => 'day',
        
3600 => 'hour',
        
60 => 'minute',
        
=> 'second'
    
);
    foreach (
$tokens as $unit => $text) {
        if (
$time $unit) continue;
        
$numberOfUnits floor($time $unit);
        return 
$numberOfUnits.' '.$text.(($numberOfUnits>1)?'s':'');
    }
}
?>


So that's where I'm at, more to come....

oldbushie
Member
**
Offline Offline

Activity: 94


View Profile
May 23, 2014, 04:38:46 AM
 #8691

Is http://p2pool.info/ down? I had been wondering why it was showing 5 days since last block until I tried refreshing the page (I don't reload my browser very often). I'm definitely seeing recent payouts in my wallet so I'm guessing the site is having some major issues.

norgan
Sr. Member
****
Offline Offline

Activity: 308

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
May 23, 2014, 04:43:28 AM
 #8692


I'm happy to share everything I'm doing....


So that's where I'm at, more to come....


looks interesting. I've written mine to be independent of the node so you can take all the web files off the node server. In my mind this means the node is much more secure as no web traffic is on that box. (ultimately I want to disable the web-static directory and/or even the web server entirely).

It also means that if any one node is down you can tell and the main front end stays up.

Have you thought about pulling it from the /web/log json feed instead?

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
windpath
Legendary
*
Offline Offline

Activity: 938


View Profile WWW
May 23, 2014, 05:41:00 AM
 #8693

@oldbushie It's down for me to...we have a few days worth of blocks listed currently, soon to be last 20 @ http://mining.coincadence.com/index.php

@norgan Yes, one of the many next steps it to isolate the front end from the node as much as possible, once complete including data from multiple participating nodes should not be an issue...

http://mining.coincadence.com:9332/web/log is nice, but it does not have all the data I plan on storing (i.e. found blocks, found shares, etc...) I may end up pulling into the DB from other p2pool resources eventually, but for now the JS on the front end uses web/log as efficiently as I could imagine.... Also the /p2pool/data/bitcoin logs have some juicy data in them, however it may take a while to sort it all out with no/little docs on how p2pool stores them....

windpath
Legendary
*
Offline Offline

Activity: 938


View Profile WWW
May 23, 2014, 05:44:53 AM
 #8694

Is http://p2pool.info/ down? I had been wondering why it was showing 5 days since last block until I tried refreshing the page (I don't reload my browser very often). I'm definitely seeing recent payouts in my wallet so I'm guessing the site is having some major issues.

These are found blocks from May 4th till now (note 1 orphan):


norgan
Sr. Member
****
Offline Offline

Activity: 308

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
May 23, 2014, 06:29:15 AM
 #8695

ok so I have deployed out a copy of p2pool.info and it looks like it is still updating but it's a backup at least.

http://p2poolinfo.azurewebsites.net/

if you appreciate this work I am doing you can always donate to my addy in my profile.

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
jonnybravo0311
Hero Member
*****
Offline Offline

Activity: 994


Mine at Jonny's Pool


View Profile WWW
May 23, 2014, 01:04:54 PM
 #8696

Hey windpath,

I like what you've done so far, and storing historical share information is a pretty cool idea - a miner can look back and see variance over time.  Personally, I'd rather see the timestamp instead of the pretty date format.  Seeing "Found 2 days ago" for 6 shares doesn't tell me the distribution of those shares.

Also, I'd love to have the luck of one of the miners on your node... same hashing power as me, but his expected payouts are double mine.  I looked at his history for the past week and it's not like the payouts started that high, they started low and have just kept on rising, whereas every other miner has some kind of up and down curves - which is more in line with what I'd expect to see.

Can't wait for my SP-10 to arrive and point that at p2pool Smiley

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
zvs
Legendary
*
Offline Offline

Activity: 1386



View Profile WWW
May 23, 2014, 02:27:04 PM
 #8697

Thanks zvs, that's not it, I tried setting mintxfee and minrelaytxfee and the spikes still occur...

mintxfee and minrelaytxfee wouldn't cover the transactions I was talking about, it would be limitfreerelay.

anyway, the easy way to check is next time it's going really slow just do a bitcoind mininginfo and see how many tx are queued

Dacentec, best deals for US dedicated servers. They regularly restock $20-$25 Opterons with 8-16GB RAM & 2x1-2TB HDD's (ofc, usually lots of other good stuff to choose from).  I did a Serverbear benchmark of one of my $20/mo Opteron (June last year), it's here.  Have had about a half dozen different servers with Dacentec, & none have failed to sustain at least 40MB/s (burst higher). My favorite is a 12-month rent-to-own ZT Systems 2XL5520 16GB 2x2TB SATA for $40/month (got lucky with the 'off-brand', haven't seen a RTO 2xL5520 for under $50/mo since -- at least for monthly contracts).  wholesaleinternet.com has some ancient 2-core intel CPUs @ $10/mo sometimes (I got an Intel Core 2 6300 @ 1.86GHz, with a 250GB HDD with 46000 hours on it, LOL. $20 @ Dacentec is much better, if you can grab one). joesdatacenter.com (same location as Wholesale Internet) also occasionally has specials (or if you don't want to wait, it has an AMD Opteron 170 @ $16/mo).
windpath
Legendary
*
Offline Offline

Activity: 938


View Profile WWW
May 23, 2014, 02:51:02 PM
 #8698

Thanks zvs, that's not it, I tried setting mintxfee and minrelaytxfee and the spikes still occur...

mintxfee and minrelaytxfee wouldn't cover the transactions I was talking about, it would be limitfreerelay.

anyway, the easy way to check is next time it's going really slow just do a bitcoind mininginfo and see how many tx are queued

Thanks zvs, appreciate the help.

limitfreerelay looks interesting default = 15kb per minute so I assume reducing it to 10 or 5 should help?

Code:
bitcoind getmininginfo
{
    "blocks" : 302249,
    "currentblocksize" : 556205,
    "currentblocktx" : 654,
    "difficulty" : 8853416309.12779999,
    "errors" : "",
    "genproclimit" : -1,
    "networkhashps" : 68130160771479424,
    "pooledtx" : 2711,
    "testnet" : false,
    "generate" : false,
    "hashespersec" : 0
}

I have not been closely watching this up until now so will start to track. Am I looking at currentblocktx or pooledtx (or both)? How can I determine if that is what is effecting the latency?

Again, really appreciate it, thanks.

windpath
Legendary
*
Offline Offline

Activity: 938


View Profile WWW
May 23, 2014, 02:55:33 PM
 #8699

Personally, I'd rather see the timestamp instead of the pretty date format.  Seeing "Found 2 days ago" for 6 shares doesn't tell me the distribution of those shares.

Thanks jonny, I like the "time ago" date format for the node stats, and main miner stats page; for me it gives a "quick glance" easy reference. Although you make a good point about tracking your share variance. Right now it will show only the 20 most recent shares, after I get the blocks added I'll make a per-miner share explorer so a miner can go through all their shares ever submitted to the node...

zvs
Legendary
*
Offline Offline

Activity: 1386



View Profile WWW
May 23, 2014, 03:27:30 PM
 #8700

Thanks zvs, that's not it, I tried setting mintxfee and minrelaytxfee and the spikes still occur...

mintxfee and minrelaytxfee wouldn't cover the transactions I was talking about, it would be limitfreerelay.

anyway, the easy way to check is next time it's going really slow just do a bitcoind mininginfo and see how many tx are queued

Thanks zvs, appreciate the help.

limitfreerelay looks interesting default = 15kb per minute so I assume reducing it to 10 or 5 should help?

Code:
bitcoind getmininginfo
{
    "blocks" : 302249,
    "currentblocksize" : 556205,
    "currentblocktx" : 654,
    "difficulty" : 8853416309.12779999,
    "errors" : "",
    "genproclimit" : -1,
    "networkhashps" : 68130160771479424,
    "pooledtx" : 2711,
    "testnet" : false,
    "generate" : false,
    "hashespersec" : 0
}

I have not been closely watching this up until now so will start to track. Am I looking at currentblocktx or pooledtx (or both)? How can I determine if that is what is effecting the latency?

Again, really appreciate it, thanks.
pooledtx are the ones that sit around in memory.  currentblocktx are the ones that are in the block your p2pool is mining. 

your latency graph looked to me like you are getting slammed w/ a whole bunch of unconfirmed transactions at once.  probably a lot of zero fee or zero fee priority transactions.  i haven't checked in a while, but the base behavior used to be to accept free transactions when a block was <10KB in size.  priority transactions up to 30KB. 

I used to use limitfreerelay=0.  Didn't want to have anything using up resources for nothing.  If you allow free transactions, your client will eventually have all of those stored & most will probably take a long time to get into a block.  Your graph looks to me like the same thing that happened w/ 75% or so of the nodes with the horsestaplebattery transactions.  I always had mine set to a min of .0005.

Anyway, something like blockmaxsize=250000 would speed it up also.

Dacentec, best deals for US dedicated servers. They regularly restock $20-$25 Opterons with 8-16GB RAM & 2x1-2TB HDD's (ofc, usually lots of other good stuff to choose from).  I did a Serverbear benchmark of one of my $20/mo Opteron (June last year), it's here.  Have had about a half dozen different servers with Dacentec, & none have failed to sustain at least 40MB/s (burst higher). My favorite is a 12-month rent-to-own ZT Systems 2XL5520 16GB 2x2TB SATA for $40/month (got lucky with the 'off-brand', haven't seen a RTO 2xL5520 for under $50/mo since -- at least for monthly contracts).  wholesaleinternet.com has some ancient 2-core intel CPUs @ $10/mo sometimes (I got an Intel Core 2 6300 @ 1.86GHz, with a 250GB HDD with 46000 hours on it, LOL. $20 @ Dacentec is much better, if you can grab one). joesdatacenter.com (same location as Wholesale Internet) also occasionally has specials (or if you don't want to wait, it has an AMD Opteron 170 @ $16/mo).
Pages: « 1 ... 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 [435] 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 ... 744 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!