Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Glibc overlay with amd64 performance patches! (obsolete)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4 ... 21, 22, 23  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 958
Location: Portugal

PostPosted: Sun Oct 02, 2005 12:25 pm    Post subject: Reply with quote

i use azureus and nano works fine with string and libm
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Sun Oct 02, 2005 5:29 pm    Post subject: Reply with quote

I have azurus not starting with the strings patch, everything works just fine with just the libm patches.
Back to top
View user's profile Send private message
gralves
Guru
Guru


Joined: 20 May 2003
Posts: 389
Location: Sao Paulo, Brazil

PostPosted: Sun Oct 02, 2005 5:54 pm    Post subject: Reply with quote

Redeeman wrote:
i use azureus and nano works fine with string and libm


Me too.
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 958
Location: Portugal

PostPosted: Sun Oct 02, 2005 5:55 pm    Post subject: Reply with quote

another thing which gets a nice speedup is the gimp
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Mon Oct 03, 2005 5:50 am    Post subject: Reply with quote

For me, Azureus only crashes when I start it up and there are torrents already open. That is, if I exit it while downloading one, it crashes when starting up. From the console, it gives this error:
Code:
Attempting to start Azureus...
**** DHT: Anti-spoof currently disabled for old clients ****

(<unknown>:22477): libgnomevfs-WARNING **: Deprecated function.  User modifications to the MIME database are no longer supported.

/usr/bin/azureus: line 47: 22477 Segmentation fault      java -cp $(java-config -p systray4j,azureus-bin 2>/dev/null) -Djava.library.path="${AZDIR}" org.gudy.azureus2.ui.swt.Main "$1"

With just the libm patches it is fine. Any ideas?
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 958
Location: Portugal

PostPosted: Mon Oct 03, 2005 11:34 am    Post subject: Reply with quote

what java version are you using? i use 1.5
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Mon Oct 03, 2005 2:59 pm    Post subject: Reply with quote

dan@localhost ~ $ emerge -pv blackdown-jdk

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] dev-java/blackdown-jdk-1.4.2.02 +browserplugin +doc +mozilla 0 kB

Total size of downloads: 0 kB


How can I get 1.5? The sun java stuff is masked.
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 958
Location: Portugal

PostPosted: Mon Oct 03, 2005 5:52 pm    Post subject: Reply with quote

you really should get java 1.5
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Mon Oct 03, 2005 6:12 pm    Post subject: Reply with quote

Gnufsh wrote:
dan@localhost ~ $ emerge -pv blackdown-jdk

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] dev-java/blackdown-jdk-1.4.2.02 +browserplugin +doc +mozilla 0 kB

Total size of downloads: 0 kB


How can I get 1.5? The sun java stuff is masked.


Add it along with the latest azureus and its depend swt to your /etc/portage/package.keywords:
Code:
dev-java/sun-jre-bin ~amd64
net-p2p/azureus-bin ~amd64
dev-java/swt ~amd64


Then emerge sun-jre-bin (you'll have to download the distfiles manually), switch to it with java-config and emerge azureus-bin.

It would be great to know if the latest java and azureus solves these issues!
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Mon Oct 03, 2005 7:31 pm    Post subject: Reply with quote

I'm already on ~amd64. I emerge sun-jre-bin, and when attempting to set the system jvm, I get:
localhost ~ # java-config --set-system-vm=sun-jre-bin-1.5.0.04
javac not found at /opt/sun-jre-bin-1.5.0.04/bin/javac or /opt/sun-jre-bin-1.5.0.04/jre/bin/javac
javadoc not found at /opt/sun-jre-bin-1.5.0.04/bin/javadoc or /opt/sun-jre-bin-1.5.0.04/jre/bin/javadoc
jar not found at /opt/sun-jre-bin-1.5.0.04/bin/jar or /opt/sun-jre-bin-1.5.0.04/jre/bin/jar
rmic not found at /opt/sun-jre-bin-1.5.0.04/bin/rmic or /opt/sun-jre-bin-1.5.0.04/jre/bin/rmic
THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND
System Virtual Machine set
You may want to update your enviroment by running:
"/usr/sbin/env-update && source /etc/profile"
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 958
Location: Portugal

PostPosted: Mon Oct 03, 2005 7:34 pm    Post subject: Reply with quote

i get that too.. ignore it
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Mon Oct 03, 2005 10:04 pm    Post subject: Reply with quote

That seems to have done the trick. Does anyone know when the 1.5 version of blackdown will be out?
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 958
Location: Portugal

PostPosted: Mon Oct 03, 2005 10:15 pm    Post subject: Reply with quote

why do you want to use blackdown? afaik its the same code anyway
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Mon Oct 03, 2005 11:09 pm    Post subject: Reply with quote

Ok, I updated to java 1.5.0.04, remerged azureus, d/l & untar overlay, digested, and am ready to emerge glibc. However I want a before test with memcpy but can't seem to find it ANYWHERE! Where is it? What package does it come with, etc? Thanks!

Edit: I just found the memcpy.c file on the bugzilla, but don't know what to do with it now. some help please?
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Tue Oct 04, 2005 2:59 am    Post subject: Reply with quote

Ok, I got memcpy working. And the patched glibc compiled. the results:
Before:
Code:
thor ~ # ./memcpy 2200 1000 1048576
Memory to memory copy rate = 1770.920166 MBytes / sec. Block size = 1048576.
thor ~ # time gimp

real   0m19.983s
user   0m1.766s
sys   0m0.244s


After:
Code:
thor ~ # ./memcpy 2200 1000 1048576
Memory to memory copy rate = 2258.734375 MBytes / sec. Block size = 1048576.
thor ~ # time gimp

real   0m4.599s
user   0m2.161s
sys   0m0.204s


The time gimp was for it to load and me close it right after the tip of the day came up.

Nice improvements so far! Azureus IS working for me so far as well. I'll have to wait and see what else is faster. Thanks!
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Tue Oct 04, 2005 5:03 am    Post subject: Reply with quote

Redeeman wrote:
why do you want to use blackdown? afaik its the same code anyway

I want a JDK, not just a JRE, and the sun jdk is currently masked on amd64.
Back to top
View user's profile Send private message
wuzzerd
Guru
Guru


Joined: 05 Jan 2005
Posts: 466
Location: New Mexico

PostPosted: Tue Oct 04, 2005 5:33 am    Post subject: Reply with quote

Methinks it works good.
Code:

memcopy 2000 1000  1048576
Before:
Memory to memory copy rate = 1369.979370 MBytes / sec. Block size = 1048576.
After:
Memory to memory copy rate = 2156.373535 MBytes / sec. Block size = 1048576.
Back to top
View user's profile Send private message
no4b
Bodhisattva
Bodhisattva


Joined: 18 Jan 2004
Posts: 774
Location: Tarnów, Poland

PostPosted: Thu Oct 06, 2005 12:10 pm    Post subject: Reply with quote

Waiting for glibc-2.3.5-r2 overlay.
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Thu Oct 06, 2005 1:13 pm    Post subject: Reply with quote

no4b wrote:
Waiting for glibc-2.3.5-r2 overlay.


Done!
Back to top
View user's profile Send private message
DNAspark99
Guru
Guru


Joined: 03 Sep 2004
Posts: 321

PostPosted: Thu Oct 06, 2005 6:58 pm    Post subject: Reply with quote

nxsty wrote:
no4b wrote:
Waiting for glibc-2.3.5-r2 overlay.


Done!



fyi, running strong and stable here, no problems ...so far
Back to top
View user's profile Send private message
stonie
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2003
Posts: 87
Location: S'Minga, Halleluja

PostPosted: Thu Oct 06, 2005 7:03 pm    Post subject: Reply with quote

dito :D
_________________
How could I know what I think before I realized what I said???

http://valid.x86-secret.com/show_oc?id=63327
Back to top
View user's profile Send private message
wuzzerd
Guru
Guru


Joined: 05 Jan 2005
Posts: 466
Location: New Mexico

PostPosted: Thu Oct 06, 2005 7:04 pm    Post subject: Reply with quote

DNAspark99 wrote:

fyi, running strong and stable here, no problems ...so far


Good to hear, I'm on my second compile, forgot to put in the new overlay, DOH.
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Thu Oct 06, 2005 8:39 pm    Post subject: Reply with quote

nxsty wrote:
no4b wrote:
Waiting for glibc-2.3.5-r2 overlay.


Done!


What's different in the -r2 overlay? And has the link in the original post updated with it?
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 958
Location: Portugal

PostPosted: Thu Oct 06, 2005 8:46 pm    Post subject: Reply with quote

satanskin wrote:
nxsty wrote:
no4b wrote:
Waiting for glibc-2.3.5-r2 overlay.


Done!


What's different in the -r2 overlay? And has the link in the original post updated with it?


the tarball with the overlay has the same name, so the link never needs updating
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Thu Oct 06, 2005 9:04 pm    Post subject: Reply with quote

and what is different in the new one?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4 ... 21, 22, 23  Next
Page 3 of 23

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum