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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to