Re: Task dispatching
Re: Task dispatching
- Subject: Re: Task dispatching
- From: Greg Guerin <email@hidden>
- Date: Tue, 13 Sep 2011 12:05:40 -0700
Jon Sigman wrote:
Also, won't I need to increase shmmax in the kernel, especially if
I have numerous "flavors" of the 1GB matrix to load?
What is a "flavor" of a matrix?
You need to explain what you're doing in terms of the data and its
representation. How is the matrix data represented on disk? How
does it need to be represented in memory? How does a matrix's
"flavor" affect its representation on disk and/or in memory?
For example, if every load of the matrix from disk to memory parses
from textual representation to double representation, then you might
be able to save a lot of time by parsing it once, writing the double
representation to disk, then using mmap() or some other mechanism to
"load" that file.
That's just an example. I'm guessing at representations and at what
needs to be done. Without knowing exactly what your data
representation is, and what needs to be done with it in memory,
guessing at possible solutions isn't worth anything.
http://www.perlmonks.org/index.pl?node_id=542341
.. You want to do X, and you think Y is the best way of doing it.
.. Instead of asking about X, you ask about Y.
-- GG
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden