Phateus (OP)
Newbie
Offline
Activity: 52
Merit: 0
|
|
August 17, 2011, 05:51:08 AM |
|
Seems to me like you've got it all under control, so I'll leave you to finish up. Thanks for your involvement. However I don't want multiple phatk kernels so just replace the current one in-situ and don't bother enumming a different kernel. As for the output code, I prefer to use 4k so feel free to do it your way, but be aware I plan to change it back.
Ok, the source is up... I am trying to figure out how to compile this for windows without the cygwin layer (I really haven't done any of this before... I am soooo lost)... https://github.com/Phateus/cgminerckolivas... if you want to merge this into your code at some point, let me know what I have to do... I literally installed git yesterday, and there is only so much you can learn on the internet in a day ;-) As for the buffer, my kernel only uses WORKSIZE+1 parts of your buffer, but I left the buffer size intact. Very good work. Nice of you to figure out how to do git and all as well. Don't worry about the merge, I've taken care of everything and cherry picked your changes as I needed to. I've modified a few things too to be consistent with cgminer's code and there is definitely a significant speed advantage thanks to your changes. Note that if you're ever working on git doing your own changes, do them to a branch that's not called master as you may end up making it impossible to pull back my changes since I won't necessarily take all your code. Thanks again, and I'm sure the cgminer users will be most grateful. Ah, that's how that works... good to know. This whole git seems really useful for working together. Thanks -Phateus
|
|
|
|
-ck
Legendary
Offline
Activity: 4242
Merit: 1644
Ruu \o/
|
|
August 17, 2011, 06:44:39 AM |
|
If you want to restore your tree without losing your changes, create a new branch and reset the master to the last one before your commits.
git checkout master git branch newphatk git reset --hard 58eb4d58599521933a3fef599e1dcba4f996dadc git pull
that will pull my changes into the master branch and your personal changes will be in newphatk. Unfortunately your github account has a messed up master now so
git push -f
will force the changes to propagate. Do not use this command normally as it makes it impossible for people pulling from your branch to keep in sync.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
1984
Newbie
Offline
Activity: 51
Merit: 0
|
|
August 18, 2011, 06:28:30 AM |
|
excellent work on the cgminer, I'm seeing the ~same performance as phoenix and am enjoying the fancy cg features. Donation on it's way.
|
|
|
|
iopq
|
|
August 18, 2011, 08:23:43 AM |
|
I'm getting hardware errors on phatk 2.2, didn't get them on diapolo's or 2.1
the three are about undistinguishable in terms of speed for me
|
|
|
|
Phateus (OP)
Newbie
Offline
Activity: 52
Merit: 0
|
|
August 18, 2011, 05:07:53 PM |
|
I'm getting hardware errors on phatk 2.2, didn't get them on diapolo's or 2.1
the three are about undistinguishable in terms of speed for me
Are you using BFI_INT? Of not, there is a bug in the 2.2 kernel, Vince found that in the kernel.cl file, you have to replace #define Ch(x, y, z) bitselect(x,y,z) on line 78 with #define Ch(x, y, z) bitselect(z, y, x) I haven't gotten around to release a new version, but if you make the change yourself, it should fix it. -Phateus
|
|
|
|
iopq
|
|
August 19, 2011, 01:45:40 AM |
|
I am using BFI_INT, the hardware errors are kind of random I should mention I'm using fpgaminer's poclbm fork for this so maybe it might have something to do with it
|
|
|
|
-ck
Legendary
Offline
Activity: 4242
Merit: 1644
Ruu \o/
|
|
August 19, 2011, 01:48:38 AM |
|
Hey phateus, just a head's up. Your cgminer code only worked for 2 vectors. I've updated it in my git tree to work with 1 and 4. Simple enough change.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
iopq
|
|
September 04, 2011, 12:47:26 PM |
|
how can I generate this kind of a graph for my 5850 and 5750? I'm having an argument with Diablo about the best memory clocks vs. core clocks
|
|
|
|
ssateneth
Legendary
Offline
Activity: 1344
Merit: 1004
|
|
September 05, 2011, 10:47:39 PM |
|
how can I generate this kind of a graph for my 5850 and 5750? I'm having an argument with Diablo about the best memory clocks vs. core clocks go to google docs, make a spreadsheet, test all the speeds and options on your end manually (this part will be extremely time consuming for a high resolution graph), and put the data in yourself, and generate graph. presto pronto.
|
|
|
|
iopq
|
|
September 06, 2011, 10:26:13 AM |
|
how can I generate this kind of a graph for my 5850 and 5750? I'm having an argument with Diablo about the best memory clocks vs. core clocks go to google docs, make a spreadsheet, test all the speeds and options on your end manually (this part will be extremely time consuming for a high resolution graph), and put the data in yourself, and generate graph. presto pronto. surely, this can be done programmatically, it's just changing clocks and measuring speeds for x seconds and averaging although on my cards some values will make them unstable, lol
|
|
|
|
ssateneth
Legendary
Offline
Activity: 1344
Merit: 1004
|
|
September 06, 2011, 04:36:44 PM |
|
how can I generate this kind of a graph for my 5850 and 5750? I'm having an argument with Diablo about the best memory clocks vs. core clocks go to google docs, make a spreadsheet, test all the speeds and options on your end manually (this part will be extremely time consuming for a high resolution graph), and put the data in yourself, and generate graph. presto pronto. surely, this can be done programmatically, it's just changing clocks and measuring speeds for x seconds and averaging although on my cards some values will make them unstable, lol well the OP already said he did it manually. you're free to write a program to do it automatically, or hire someone to write one for you.
|
|
|
|
Lord F(r)og
Donator
Sr. Member
Offline
Activity: 477
Merit: 250
|
|
September 25, 2011, 06:28:38 PM |
|
donated knickknack
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
|
September 29, 2011, 07:31:57 AM |
|
|
|
|
|
Phateus (OP)
Newbie
Offline
Activity: 52
Merit: 0
|
|
September 29, 2011, 03:21:15 PM |
|
1354 OPs are for two double hashes. SHA256(SHA256(Block_Header1)), SHA256(SHA256(Block_Header2)) so, 677 per double hash. Although, there aren't completely full hashes, since the first and last few rounds (a few %) have optimized out. Also, each ALU OP is a VLIW5 (very long instruction word) instruction which contains 5 integer operations that run simultaneously, so... depending on how you think about it, could be ~3375 integer operations or 677 VLIW5 instructions Hope this helps, let me know if you need any more help with this. I am interested in how this turns out.
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
|
September 30, 2011, 03:04:31 PM Last edit: September 30, 2011, 03:14:35 PM by phelix |
|
first you shocked me with TWO double hashes but ~3375 integer operations per hash is just perfect edit: did you mean 3385??
|
|
|
|
Phateus (OP)
Newbie
Offline
Activity: 52
Merit: 0
|
|
October 01, 2011, 10:29:26 PM |
|
first you shocked me with TWO double hashes but ~3375 integer operations per hash is just perfect edit: did you mean 3385?? It's actually closer to 3375 because some VLIW5 instructions only have 4 operations in them. I can get a more exact number if needed, but its kinda a PITA cuz AMD's software won't actually tell you outright.
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
|
October 02, 2011, 08:33:46 PM |
|
first you shocked me with TWO double hashes but ~3375 integer operations per hash is just perfect edit: did you mean 3385?? It's actually closer to 3375 because some VLIW5 instructions only have 4 operations in them. I can get a more exact number if needed, but its kinda a PITA cuz AMD's software won't actually tell you outright. ok thanks for elaborating. I used 3385 in the last calc but will just say it makes up for all the 6xxx cards
|
|
|
|
Crypt_Current
|
|
October 06, 2011, 05:58:56 PM |
|
Is the latest version of phatk the one that's included in LinuxCoin final? I could probably check somehow, as I am a LinuxCoin user... I just don't know much about Linux and don't want to poke at my rig while it's on a roll...
|
|
|
|
Lord F(r)og
Donator
Sr. Member
Offline
Activity: 477
Merit: 250
|
|
October 09, 2011, 01:47:33 PM |
|
If it works out for you and you're feeling generous, any donations would be greatly appreciated so I can continue to put out bitcoin related software: 124RraPqYcEpX5qFcQ2ZBVD9MqUamfyQnv
-Phateus
It worked out for me and I'm feeling generous, so I donated for further development.
|
|
|
|
Crypt_Current
|
|
October 09, 2011, 04:29:51 PM |
|
If it works out for you and you're feeling generous, any donations would be greatly appreciated so I can continue to put out bitcoin related software: 124RraPqYcEpX5qFcQ2ZBVD9MqUamfyQnv
-Phateus
It worked out for me and I'm feeling generous, so I donated for further development. +1 I would if I could. I wonder how many BTC enthusiasts live below the USA's so-called "poverty line"?
|
|
|
|
|