Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2007

Tip: Looking for answers? Try searching our database.

-Xconcurrentio

Thread view: 
villo - 01 Mar 2007 08:43 GMT
Hi all

reading
http://java.sun.com/docs/hotspot/HotSpotFAQ.html

I don't quite understand what could be the benefit of using this
option
on a Linux system. Is there anyone here that knows what

"-Xconcurrentio can still help since it turns on some other internal
options."

actually means?

Thanks a lot,
Francesco
Arne Vajhøj - 02 Mar 2007 01:19 GMT
> reading
> http://java.sun.com/docs/hotspot/HotSpotFAQ.html
>
> I don't quite understand what could be the benefit of using this
> option
> on a Linux system. Is there anyone here that knows what

Only Solaris is mentioned, so probably there are no benefits of
this for Linux.

> "-Xconcurrentio can still help since it turns on some other internal
> options."
>
> actually means?

It tells the JVM something that make it do Java threads
faster.

http://java.sun.com/developer/technicalArticles/Programming/JVMPerf/

says

"This test examined the impact of the Java 2 SDK 1.3.0 EA runtime option
-Xconcurrentio on performance. Specifying -Xconcurrentio changes the
implementation of thread synchronization in a way that sometimes
improves throughput for programs having many threads blocking
Input/Output. The gains are due to a higher level of concurrency in the
Solaris operating system kernel."

http://www.volano.com/report/

says

"In particular, the Solaris HotSpot VM has an option called
-Xconcurrentio. It apparently does two things: it enables lightweight
process-based (LWP-based) synchronization rather than the Solaris
thread-based synchronization, and it disables thread-local allocation
buffers (TLABs). LWP-based synchronization is the default in the Java
1.4 HotSpot VM, but must be enabled for the Java 1.3 HotSpot VM."

If you need more info I think you will need to study code.

Arne
villo - 05 Mar 2007 11:27 GMT
Thanks Arne

actually I thought it could possibly affect other OSes as the
phrase was "particularly on Solaris."...

but given the links you cite it seems not.
Thanks for clarifying.

Francesco

> > reading
> >http://java.sun.com/docs/hotspot/HotSpotFAQ.html
[quoted text clipped - 39 lines]
>
> Arne


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.