LISTSERV mailing list manager LISTSERV 16.5

Help for QSERV-L Archives


QSERV-L Archives

QSERV-L Archives


QSERV-L@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

QSERV-L Home

QSERV-L Home

QSERV-L  May 2016

QSERV-L May 2016

Subject:

Worker memory vs. chunk size.

From:

John Gates <[log in to unmask]>

Reply-To:

General discussion for qserv (LSST prototype baseline catalog)

Date:

Thu, 12 May 2016 11:32:37 -0700

Content-Type:

multipart/mixed

Parts/Attachments:

Parts/Attachments

text/plain (41 lines) , WorkerMemoryThreads.ods (41 lines)

There's relationship between memory, cores/threads, and chunk size. If 
we're running t threads and the tables are about s GB/chunk for Source, 
f GB/chunk for ForcedSource, and e GB/chunk for ObjectExtra) are each 
about g GB/chunk, we would have at most 3*tsfe gigabytes of memory 
locked, with each thread running a join between the three tables on a 
different chunk (which shouldn't happen), but does give us a point at 
which more memory for locking tables is pointless.

At a minimum, we will want to be able to lock at least 2 copies of each 
table in memory, and we'd be much happier with a couple more. The more 
threads we run, probably the more copies we will want, but I'm not sure 
what the exact relation is going to be, but less than 2 copies will 
likely slow things down with memory contention issues. The number of 
threads we run is going to be a function of the number of cores. The 
amount of memory on a worker that should be reserved for locking is not 
really know, but Andy H thinks half or a bit more than half is a good 
estimate and I've got no reason to disagree.

I put together a quick spreadsheet (which is attached) and at 20k 
chunks, we will need 810 GB of memory for locking, which means the 
machines would need something like 1400GB or RAM. Using 200k chunks, we 
only need 81GB for locking, so we would do ok with 160GB of RAM and 
probably be pretty happy with 250GB of RAM. The downside is the czars 
get to do 10 times as much book keeping (which is only maybe about 
10-20% of what they spend their time doing) so adding another czar or 
two might be needed.

  -John






########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2018
February 2018
January 2018
December 2017
August 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use