Bitcoin Forum
November 01, 2024, 12:40:19 AM *
News: Bitcoin Pumpkin Carving Contest
 
   Home   Help Search Login Register More  
Pages: « 1 ... 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 [273] 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 ... 1310 »
  Print  
Author Topic: [ANN] [XMG] MAGI | CPU mining | mPoW | mPoS | [MagiPay]  (Read 2375687 times)
Singman33
Full Member
***
Offline Offline

Activity: 147
Merit: 100


View Profile
January 27, 2015, 12:12:18 PM
 #5441

Try "make distclean", then "AR=gcc-ar RANLIB=gcc-ranlib ./configure", then "make".
Work. Thanks.
nixon1974
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
January 27, 2015, 12:21:20 PM
 #5442

Now i am getting following error

ar cru libm7m.a libm7m_a-haval.o libm7m_a-keccak.o libm7m_a-ripemd.o libm7m_a-sha2.o libm7m_a-sha2big.o libm7m_a-tiger.o libm7m_a-whirlpool.o
gcc-ranlib libm7m.a
make[2]: gcc-ranlib: Command not found
make[2]: *** [libm7m.a] Error 127


jpx3m
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
January 27, 2015, 04:07:34 PM
 #5443


Windows 32 bit miner

Compiled using vanilla Cygwin32 with my custom tweaks. Its ... er ... fast. Did my head in Cheesy

https://www.dropbox.com/s/dgridplxdegxf1h/Spexx-Wolf0-V2-Win32-XMGminerd.zip


thanks! my hashrate increased from just khs to 4.5khs Cheesy (old core2 cpu)
Fioravante
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile
January 27, 2015, 04:18:01 PM
 #5444

My hashrate also was improved. Thank you!

Now I wish I had higher price on market. More to trade, more to buy :-)
bobben2
Full Member
***
Offline Offline

Activity: 279
Merit: 104


View Profile
January 27, 2015, 04:28:03 PM
 #5445

Optimized miner [V2]:

https://github.com/magi-project/wolf-m7m-cpuminer-V2

Credits should go to Wolf0. This optimization is done based on his optimized miner https://github.com/wolf9466/wolf-m7m-cpuminer, by further abstraction of the gmp computation according to his prior work, as well as a few other improvements have been carried out. Anyone who can achieve further optimization and boost the speed, please release the code accordingly.  

The above miner is slightly different from that on which prior windows compilation is based; so the speed might be different (not much expected). I will get another set of compilation for Windows.

The following is the miner with "-e" option in order to adjust CPU usage.

https://github.com/magi-project/m-cpuminer-legacy-v2

Code:
minerdlegacy -o stratum+tcp://pool_url:pool_port -u pool_user.worker -p password -t thread_numbers -e cpu_efficiency



Great work again Wolf0 and Joe,

However, the new minerd core dumped in my Xubuntu 12.04 box running on an Athlon 64 bit cpu.
I have never liked the -Ofast compiler option, so I removed it from the makefiles.  Then I ran make clean and reran
make and after that the new minerd runs fine.  Speed increase from 5.03 KHash/s -> 7.23 KHash/s.  43%!!



Fellow miners, get your thens and thans in order and help other forum readers understand what you are writing. Remember the grammar basics:  B larger THAN A (comparator operator). If something THEN ....
mintminty59
Full Member
***
Offline Offline

Activity: 139
Merit: 100



View Profile
January 27, 2015, 05:27:05 PM
 #5446

does this support http yet?

joelao95 (OP)
Legendary
*
Offline Offline

Activity: 1190
Merit: 1009


Coin of the Magi!


View Profile
January 27, 2015, 05:57:39 PM
 #5447

does this support http yet?

Yes, it does as I tested once, please test it and let me know any issues.

I have never liked the -Ofast compiler option, so I removed it from the makefiles.  Then I ran make clean and reran
make and after that the new minerd runs fine.  Speed increase from 5.03 KHash/s -> 7.23 KHash/s.  43%!!

I totally have no idea about those compiler flags, nor I had enough time to research & test. I simply copy those flags from makefile.am in Wolf's version and replace the original ones. Wolf, can you specify how / in what situations we should make use of them, and which of them are critical?


  Coin MAGI  . XMG   
Coin Source : Trust Verified    [ ★ ★ ★ ★ ★ ★ ★ ]
  ♓.NΣTWORK-DΣPΣNDΣNT  RΣWARDING SYSTΣM  ※ 
  ANN THREAD MAGIPAY FAQ FORUM
.CPU Mining   PoS-II   PoM   Unique Block Reward 
bobben2
Full Member
***
Offline Offline

Activity: 279
Merit: 104


View Profile
January 27, 2015, 06:21:22 PM
Last edit: February 03, 2015, 05:58:08 AM by bobben2
 #5448

I got another 10% speed improvement on my Has(h)well I5 box by tweaking the already excellent mods done by Wolf/Joe .
From 72 KHash/s to 81 KHash/s  Shocked   running 4 threads on my i5-4460 , no overclock

This tweak/hack uses a different implementation of the sha256 function and will only work on chips with AESNI/AVX2 .
Here is how I did it.  Read on if you are interested (Warning: The below will be a bit technical and applies to Linux only):

So I copied the source code from http://lxr.free-electrons.com/source/arch/x86/crypto/sha256-avx2-asm.S.
The code in here replaces the sha2_round code found in the m7/sha2.c file.
I edited it carefully by removing the line numbers and commented out the following lines
// #ifdef CONFIG_AS_AVX2
// #include <linux/linkage.h>
..
.global sha256_transform_rorx  ## ENTRY(sha256_transform_rorx)
..
//  ENDPROC(sha256_transform_rorx)
and the bottom line
// endif
Then stored the resulting as sha256_rorx.S in the m7 subfolder of the miner source.
Then edited the m7/sha2.c as follows:

// Added this line above the below C function:
extern void sha256_transform_rorx(const void *input_data, sph_u32 *digest, unsigned long num_blks);

// Then the following changes to this function.
static void
sha2_round(const unsigned char *data, sph_u32 r[8])
{
// Comment out these 3 lines
//#define SHA2_IN(x)   sph_dec32be_aligned(data + (4 * (x)))
//        SHA2_ROUND_BODY(SHA2_IN, r);
//#undef SHA2_IN
// Add this line:
   sha256_transform_rorx(data, r, 1);
}

saved the above file, then ran the following commands:
run 'make' in the m7 folder.
Then run 'gcc -c  sha256_rorx.S'
Then 'cd ..'
Then:
gcc -std=gnu99  -O2 -pthread -fuse-linker-plugin   -o minerd minerd-cpu-miner.o minerd-util.o minerd-sha2-old.o minerd-scrypt.o minerd-m7mhash.o minerd-haval.o minerd-keccak.o minerd-ripemd.o minerd-sha2.o minerd-sha2big.o minerd-tiger.o minerd-whirlpool.o m7/sha256_rorx.o -ljansson -lpthread  -lgmp -lcurl -lm

There are other versions of the above, so for example you might try the sse3 version if you only have a core 2 duo, for example.

Fellow miners, get your thens and thans in order and help other forum readers understand what you are writing. Remember the grammar basics:  B larger THAN A (comparator operator). If something THEN ....
Sollozzo
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
January 27, 2015, 06:24:26 PM
 #5449


Windows 32 bit miner

Compiled using vanilla Cygwin32 with my custom tweaks. Its ... er ... fast. Did my head in Cheesy

https://www.dropbox.com/s/dgridplxdegxf1h/Spexx-Wolf0-V2-Win32-XMGminerd.zip


thanks! my hashrate increased from just khs to 4.5khs Cheesy (old core2 cpu)

Same thing with this one add to folder?
goldlabel
Hero Member
*****
Offline Offline

Activity: 575
Merit: 502



View Profile WWW
January 27, 2015, 06:25:15 PM
 #5450

wow nice work, respect  Cool

I would like to test thise one also, but i dont know how to use https://github.com/magi-project/m-cpuminer-legacy-v2 so someone can explane to be how it works thx ahead.
Again respect for Wolf0 and joe  Cool
Sollozzo
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
January 27, 2015, 06:47:27 PM
 #5451

wow nice work, respect  Cool

I would like to test thise one also, but i dont know how to use https://github.com/magi-project/m-cpuminer-legacy-v2 so someone can explane to be how it works thx ahead.
Again respect for Wolf0 and joe  Cool

Damn much respect!...... I have an old CoreDuo doing 5.32!!!! an I5 pumping out 25.80 and various New 2 core Celerons pumping out 4-5kh..

You guys took my CPUs to another level.

Any recommendations for a nice CPU without breaking the bank? I assume i7 but which ones?

goldlabel
Hero Member
*****
Offline Offline

Activity: 575
Merit: 502



View Profile WWW
January 27, 2015, 07:11:48 PM
 #5452

Im using a amd 8350 liquid cooled and doing about 65 kh with wolf-m7m-cpuminer-x64-0122-corei7 is this the same program then the v2 or is the v2 even newer?
bobben2
Full Member
***
Offline Offline

Activity: 279
Merit: 104


View Profile
January 27, 2015, 07:23:33 PM
Last edit: January 28, 2015, 04:59:46 PM by bobben2
 #5453

wow nice work, respect  Cool

I would like to test thise one also, but i dont know how to use https://github.com/magi-project/m-cpuminer-legacy-v2 so someone can explane to be how it works thx ahead.
Again respect for Wolf0 and joe  Cool

Damn much respect!...... I have an old CoreDuo doing 5.32!!!! an I5 pumping out 25.80 and various New 2 core Celerons pumping out 4-5kh..

You guys took my CPUs to another level.

Any recommendations for a nice CPU without breaking the bank? I assume i7 but which ones?



Yesterday, I bought an i7-5930k, an ASRock X99 WS, 32GB of DDR4 at 2666Mhz, and a liquid cooler for the CPU with BTC at Newegg - she's gonna be my new main system. I'm pretty sure that should hash well.

Looks like you are building for the future Grin
If I were to build a similar system in my country (Norway), I would have had to fork out the equivalent of $1759USD for those parts, plus
a bit for a cooler on top of that.
An i7-5930K alone costs $700 over here.
A more modest i7-4790K costs $400.
Anyways, If one is looking to buy new gear, the only game in town for serious CPU mining seems be Has(h)well-based chips,
from any I5 and upwards.



Fellow miners, get your thens and thans in order and help other forum readers understand what you are writing. Remember the grammar basics:  B larger THAN A (comparator operator). If something THEN ....
JasonXtreme
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
January 27, 2015, 07:51:21 PM
 #5454

Won't compile on Linux Ubuntu (and never got a problem before) :
Code:
gcc -std=gnu99  -march=native -O3 -pthread -flto -fuse-linker-plugin -Ofast  -o minerd minerd-cpu-miner.o minerd-util.o minerd-sha2.o minerd-scrypt.o minerd-m7mhash.o  minerd-sha2-x64.o minerd-scrypt-x64.o  -L/usr/lib/x86_64-linux-gnu -lcurl -ljansson -lpthread  m7/libm7m.a -lgmp -lcurl -lm -lgmp
/tmp/ccAUbsYX.ltrans9.ltrans.o: dans la fonction « scanhash_m7m_hash »:
ccAUbsYX.ltrans9.o:(.text+0xd2): référence indéfinie vers « sph_sha256_init »
ccAUbsYX.ltrans9.o:(.text+0xde): référence indéfinie vers « sph_sha256_init »
ccAUbsYX.ltrans9.o:(.text+0xf6): référence indéfinie vers « sph_sha224 »
ccAUbsYX.ltrans9.o:(.text+0x102): référence indéfinie vers « sph_sha512_init »
ccAUbsYX.ltrans9.o:(.text+0x11a): référence indéfinie vers « sph_sha384 »
ccAUbsYX.ltrans9.o:(.text+0x126): référence indéfinie vers « sph_keccak512_init »
ccAUbsYX.ltrans9.o:(.text+0x13e): référence indéfinie vers « sph_keccak512 »
ccAUbsYX.ltrans9.o:(.text+0x14a): référence indéfinie vers « sph_whirlpool_init »
ccAUbsYX.ltrans9.o:(.text+0x162): référence indéfinie vers « sph_whirlpool »
ccAUbsYX.ltrans9.o:(.text+0x16e): référence indéfinie vers « sph_haval256_5_init »
ccAUbsYX.ltrans9.o:(.text+0x186): référence indéfinie vers « sph_haval256_5 »
ccAUbsYX.ltrans9.o:(.text+0x192): référence indéfinie vers « sph_tiger_init »
ccAUbsYX.ltrans9.o:(.text+0x1aa): référence indéfinie vers « sph_tiger »
ccAUbsYX.ltrans9.o:(.text+0x1b6): référence indéfinie vers « sph_ripemd160_init »
ccAUbsYX.ltrans9.o:(.text+0x1ce): référence indéfinie vers « sph_ripemd160 »
ccAUbsYX.ltrans9.o:(.text+0x3e1): référence indéfinie vers « sph_sha224 »
ccAUbsYX.ltrans9.o:(.text+0x3f4): référence indéfinie vers « sph_sha256_close »
ccAUbsYX.ltrans9.o:(.text+0x420): référence indéfinie vers « sph_sha384 »
ccAUbsYX.ltrans9.o:(.text+0x43a): référence indéfinie vers « sph_sha512_close »
ccAUbsYX.ltrans9.o:(.text+0x466): référence indéfinie vers « sph_keccak512 »
ccAUbsYX.ltrans9.o:(.text+0x480): référence indéfinie vers « sph_keccak512_close »
ccAUbsYX.ltrans9.o:(.text+0x4ac): référence indéfinie vers « sph_whirlpool »
ccAUbsYX.ltrans9.o:(.text+0x4c6): référence indéfinie vers « sph_whirlpool_close »
ccAUbsYX.ltrans9.o:(.text+0x4f2): référence indéfinie vers « sph_haval256_5 »
ccAUbsYX.ltrans9.o:(.text+0x50c): référence indéfinie vers « sph_haval256_5_close »
ccAUbsYX.ltrans9.o:(.text+0x5c8): référence indéfinie vers « sph_tiger »
ccAUbsYX.ltrans9.o:(.text+0x5e2): référence indéfinie vers « sph_tiger_close »
ccAUbsYX.ltrans9.o:(.text+0x69e): référence indéfinie vers « sph_ripemd160 »
ccAUbsYX.ltrans9.o:(.text+0x6b8): référence indéfinie vers « sph_ripemd160_close »
ccAUbsYX.ltrans9.o:(.text+0x821): référence indéfinie vers « sph_sha224 »
ccAUbsYX.ltrans9.o:(.text+0x830): référence indéfinie vers « sph_sha256_close »
ccAUbsYX.ltrans9.o:(.text+0xe1a): référence indéfinie vers « sph_sha224 »
ccAUbsYX.ltrans9.o:(.text+0xe29): référence indéfinie vers « sph_sha256_close »
collect2: error: ld returned 1 exit status

Try "make distclean", then "AR=gcc-ar RANLIB=gcc-ranlib ./configure", then "make".

Tnx, solved my problem too Smiley
111magic
Legendary
*
Offline Offline

Activity: 1750
Merit: 1005



View Profile
January 27, 2015, 07:54:33 PM
 #5455

IRC offline? Can not connect!

bitcoin: bc1qyadvvyv29z08ln2ta7g3uqwzkscr7wq4p09wuz
go6ooo1212
Legendary
*
Offline Offline

Activity: 1512
Merit: 1000


quarkchain.io


View Profile
January 27, 2015, 08:16:12 PM
 #5456

IRC offline? Can not connect!
same..
halfnode
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
January 27, 2015, 08:17:08 PM
 #5457

hope with all the improved speed, people remember that higher hashrate doesn't mean more XMG but lesser  Smiley
111magic
Legendary
*
Offline Offline

Activity: 1750
Merit: 1005



View Profile
January 27, 2015, 08:19:44 PM
 #5458

Magi back online on www.litepaid.com
7 new shops/services accepting Magi.
 Grin
Working for more!!

bitcoin: bc1qyadvvyv29z08ln2ta7g3uqwzkscr7wq4p09wuz
JasonXtreme
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
January 27, 2015, 08:28:18 PM
 #5459

Well then... my Windows laptop used to dish out about 25Khash/s, and I had some virtual pcs on free trials, coming together at about 75-80Khash/s according to the suprnova pool. With the recent development and optimizations by spexx and Wolf0, the total adds up to...

Wait for it...


220Khash/s Cheesy

Yup, 220 is not an error, It's been stable like that ever since I upgraded.

I'd say the boys should post some XMG addresses. Even if the speed boost does effect the network negatively a bit, these guys are working hard and this stuff isn't easy. I know I'll donate, even if it isn't a fortune Cheesy
On a separate note, Joe also deserves some kind of reward, working on pretty much everything else XMG related Wink

I'm a lazy ass low class user interface programmer, so I'll kindly ask all three of you to post your XMG addresses again, because the 90 second search limit on this thread is killing me - and I'll send over a bit of what I've mined so far Smiley I'm willing to bet I'm not the only one grateful for all the great work you're doing either Cheesy Anyway, keep it up!
Crypto_Lobbyist
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
January 27, 2015, 08:35:36 PM
 #5460

Magi back online on www.litepaid.com
7 new shops/services accepting Magi.
 Grin
Working for more!!

Like that!

DevTeam still hard working. Good to see that, motivated to further steps.
Pages: « 1 ... 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 [273] 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 ... 1310 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!