[issue21638] Seeking to EOF is too inefficient!

2014-06-03 Thread Linlin Yan
Linlin Yan added the comment: I ensured that the problem is in libc. I will try to figure out it by updating libc or optimizing some related parameters. -- resolution: -> third party status: open -> closed ___ Python tracker

[issue21638] Seeking to EOF is too inefficient!

2014-06-03 Thread Linlin Yan
Linlin Yan added the comment: Thanks! I agree with that. -- ___ Python tracker <http://bugs.python.org/issue21638> ___ ___ Python-bugs-list mailing list Unsub

[issue21638] Seeking to EOF is too inefficient!

2014-06-02 Thread Linlin Yan
Linlin Yan added the comment: I agree that Python 2 should use fopen / fread rather than directly read(). But you may misunderstand this. The 'strace' tool reports Linux system calls, including read() rather than fread(), and I guess that read() should be finally called in fread() impl

[issue21638] Seeking to EOF is too inefficient!

2014-06-02 Thread Linlin Yan
New submission from Linlin Yan: I noticed this problem when I run a Python2 program (MACS: http://liulab.dfci.harvard.edu/MACS/) very inefficiently on a large storage on a high performace server (64-bit Linux). It was much slower (more than two days) than running it on a normal PC (less than