Re: Solr 8.1.1, JMX and VisualVM

2019-05-30 Thread Shawn Heisey

On 5/30/2019 9:58 AM, Markus Jelsma wrote:

Hello,

It solves the problem! So, with this flag disabled, would that mean our Solr 
would have lower performance than with it?


That flag ended up in the config because I was using it in my GC 
experiments, and my wiki page appears to have been used as the basis for 
the G1 config in 8.1:


https://wiki.apache.org/solr/ShawnHeisey#Current_experiments

I do have a note about that flag on that page, I found the blog post it 
links to very fascinating.


A machine that's writing a lot of data to the disks where Java stores 
performance data (and I think heavy indexing with Solr would qualify) 
MIGHT see real performance gains with that option ... but enabling it 
*disables* many of Java's commandline and GUI tools, as you found out.


An alternate option is to have a filesystem on separate disks for Java's 
temp directory, normally /tmp on *NIX systems.  If the disk/filesystem 
where Java's performance data lives is not seeing a lot of writes, then 
the problem that this flag eliminates won't happen.


Thanks,
Shawn


RE: Solr 8.1.1, JMX and VisualVM

2019-05-30 Thread Markus Jelsma
Hello,

It solves the problem! So, with this flag disabled, would that mean our Solr 
would have lower performance than with it?

Thanks Andrzej!
Markus
 
-Original message-
> From:Andrzej Białecki 
> Sent: Thursday 30th May 2019 17:35
> To: solr-user@lucene.apache.org
> Subject: Re: Solr 8.1.1, JMX and VisualVM
> 
> Hi,
> 
> This has to do with the new JVM flags that optimise performance, they were 
> added roughly at the same time when Solr switched to G1GC.
> 
> In ‘bin/solr’ please comment out this flag: '-XX:+PerfDisableSharedMem'.
> 
> > On 30 May 2019, at 14:59, Markus Jelsma  wrote:
> > 
> > Hello,
> > 
> > Slight correction, SolrCLI does become visible in the local applications 
> > view. I just missed it before.
> > 
> > Thanks,
> > Markus
> > 
> > -Original message-----
> >> From:Markus Jelsma 
> >> Sent: Thursday 30th May 2019 14:47
> >> To: solr-user 
> >> Subject: Solr 8.1.1, JMX and VisualVM
> >> 
> >> Hello,
> >> 
> >> While upgrading from 7.7 to 8.1.1, i noticed start.jar and SolrCLI no 
> >> longer pop up in the local applications view of VisualVM! I CTRL-F'ed my 
> >> way through the changelog for Solr 8.0.0 to 8.1.1 but could not find 
> >> anything related. I am clueless!
> >> 
> >> Using OpenJDK 11.0.3 2019-04-16 and Solr 8, how can i attach my VisualVM 
> >> to it?
> >> 
> >> Many thanks,
> >> Markus
> >> 
> > 
> 
> 


Re: Solr 8.1.1, JMX and VisualVM

2019-05-30 Thread Andrzej Białecki
Hi,

This has to do with the new JVM flags that optimise performance, they were 
added roughly at the same time when Solr switched to G1GC.

In ‘bin/solr’ please comment out this flag: '-XX:+PerfDisableSharedMem'.

> On 30 May 2019, at 14:59, Markus Jelsma  wrote:
> 
> Hello,
> 
> Slight correction, SolrCLI does become visible in the local applications 
> view. I just missed it before.
> 
> Thanks,
> Markus
> 
> -Original message-
>> From:Markus Jelsma 
>> Sent: Thursday 30th May 2019 14:47
>> To: solr-user 
>> Subject: Solr 8.1.1, JMX and VisualVM
>> 
>> Hello,
>> 
>> While upgrading from 7.7 to 8.1.1, i noticed start.jar and SolrCLI no longer 
>> pop up in the local applications view of VisualVM! I CTRL-F'ed my way 
>> through the changelog for Solr 8.0.0 to 8.1.1 but could not find anything 
>> related. I am clueless!
>> 
>> Using OpenJDK 11.0.3 2019-04-16 and Solr 8, how can i attach my VisualVM to 
>> it?
>> 
>> Many thanks,
>> Markus
>> 
> 



RE: Solr 8.1.1, JMX and VisualVM

2019-05-30 Thread Markus Jelsma
Hello,

Slight correction, SolrCLI does become visible in the local applications view. 
I just missed it before.

Thanks,
Markus
 
-Original message-
> From:Markus Jelsma 
> Sent: Thursday 30th May 2019 14:47
> To: solr-user 
> Subject: Solr 8.1.1, JMX and VisualVM
> 
> Hello,
> 
> While upgrading from 7.7 to 8.1.1, i noticed start.jar and SolrCLI no longer 
> pop up in the local applications view of VisualVM! I CTRL-F'ed my way through 
> the changelog for Solr 8.0.0 to 8.1.1 but could not find anything related. I 
> am clueless!
> 
> Using OpenJDK 11.0.3 2019-04-16 and Solr 8, how can i attach my VisualVM to 
> it?
> 
> Many thanks,
> Markus
> 


Solr 8.1.1, JMX and VisualVM

2019-05-30 Thread Markus Jelsma
Hello,

While upgrading from 7.7 to 8.1.1, i noticed start.jar and SolrCLI no longer 
pop up in the local applications view of VisualVM! I CTRL-F'ed my way through 
the changelog for Solr 8.0.0 to 8.1.1 but could not find anything related. I am 
clueless!

Using OpenJDK 11.0.3 2019-04-16 and Solr 8, how can i attach my VisualVM to it?

Many thanks,
Markus