On Friday, July 4, 2014 4:39:13 PM UTC-4, Nicolas M. ThiƩry wrote:
>
> ATA LITEONIT LCT-256. No idea if it's good or not (it's infinitely 
> better than on my previous non SSD laptop :-) ). I would indeed have 
> expected to most of the sage directory is loaded in memory cache 
> anyway (right now, I have 4Go unused), but the monitor still shows a 
> peak of disk access. Oh well. Thanks for your suggestions!


Should be ok. For me, "sage -b" operates almost entirely from memory. So 
perhaps 4gb of unused ram isn't sufficient to pull everything into cache 
(also is it really free; is there enough swap?). 

Using strace, I see that "sage -b" without changes reads  2337854838 bytes 
and writes 11530749 bytes (including cached read/writes). The write part is 
negligable, but maybe there is a reason why you can't cache 2.4gb for 
reading.

Another data point, really every read is coming out of the cache:

$ iostat && sage -b && iostat
...
Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
sda               6.93        67.61        79.28    5264813    6173796
...
Updating Cython code....
Finished Cythonizing, time: 2.62 seconds.
Discovering Python source code....
Discovered Python source, time: 0.02 seconds.
Cleaning up stale installed files....
- cleaning /home/vbraun/Code/sage/local/lib/python2.7/site-packages
- cleaning /home/vbraun/Code/sage/local/lib/site-python
- cleaning /home/vbraun/Code/sage/src/build/lib.linux-x86_64-2.7
Finished cleaning, time: 0.07 seconds.
running install
running build
running build_py
running build_ext
Executing 0 commands (using 1 thread)
Time to execute 0 commands: 0.00 seconds.
Total time spent compiling C/C++ extensions: 0.05 seconds.
running install_lib
...
Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
sda               6.93        67.61        79.28    5264813    6173804

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to