I have made an interesting observation:
I have to convert coordinate trajectories to CV trajectories and store them separately before generating path histograms (memory concerns, cluster walltime concerns). I pickle the resulting lists of [CV-Trajectory, weight] pairs using the currently highest pickle protocol 5.
The pickled CV trajectories generated from the CV functions used during the TPS runs, and therefore loaded from storage, result in double the file size on disk compared to CV functions defined later on. The generated list objects are the same size in memory for all tested CV combinations, independent of source, as reported by sys.getsizeof().
Is there maybe some metadata stored and returned with the CV objects in the simstore? Or are there other potential reasons I could investigate?
I have made an interesting observation:
I have to convert coordinate trajectories to CV trajectories and store them separately before generating path histograms (memory concerns, cluster walltime concerns). I pickle the resulting lists of [CV-Trajectory, weight] pairs using the currently highest pickle protocol 5.
The pickled CV trajectories generated from the CV functions used during the TPS runs, and therefore loaded from storage, result in double the file size on disk compared to CV functions defined later on. The generated list objects are the same size in memory for all tested CV combinations, independent of source, as reported by
sys.getsizeof().Is there maybe some metadata stored and returned with the CV objects in the
simstore? Or are there other potential reasons I could investigate?