lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3667) Consider changing how we set the number of threads to use to run tests.
Date Sat, 24 Dec 2011 15:18:30 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-3667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175734#comment-13175734
] 

Mark Miller commented on LUCENE-3667:
-------------------------------------

You didn't get 16GB? That's my big regret these days. I've almost upgraded because of this,
but I'm too lazy and I dont want to figure out what I need to get or install it.

Like I said though, I run some other pretty RAM hungry programs at the same time as eclipse
(which I also give a decent amount of RAM). If I shut some down, I don't go into heavy paging
- but I'd rather just be able to lower the number of threads because that gets me the best
of all the worlds - the tests are not any slower but I can leave my apps open.
                
> Consider changing how we set the number of threads to use to run tests.
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-3667
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3667
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>
> The current way we set the number of threads to use is not expressive enough for some
systems. My quad core with hyper threading is recognized as 8 CPUs - since I can only override
the number of threads to use per core, 8 is as low as I can go. 8 threads can be problematic
for me - just the amount of RAM used sometimes can toss me into heavy paging because I only
have 8 GB of RAM - the heavy paging can cause my whole system to come to a crawl. Without
hacking the build, I don't think I have a lot of workarounds.
> I'd like to propose that switch from using threadsPerProcessor to threadCount. In some
ways, it's not as nice, because it does not try to scale automatically per system. But that
auto scaling is often not ideal (hyper threading, wanting to be able to do other work at the
same time), so perhaps we just default to 1 or 2 threads and devs can override individually?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message