Bug 188977

Summary: python runs too slow on Fedora 5
Product: [Fedora] Fedora Reporter: njlegend <qq6577706>
Component: pythonAssignee: Mihai Ibanescu <mihai.ibanescu>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: 5CC: katzj
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-26 17:00:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description njlegend 2006-04-14 05:35:52 UTC
Description of problem:
when I use python to write 30M data to disk,it take's about 1 minute to finish
running,
but when I run it on redhat9, it take's only 5 seconds to finish running.
I think something is wrong with python on Fedora



Version-Release number of selected component (if applicable):
On Fedora,python is:
Python 2.4.2 (#1, Feb 12 2006, 03:59:46)
[GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)] on linux2
Type "help", "copyright", "credits" or "license" for more information.



How reproducible:
#b.py
import os,sys,time

f = open('a.txt','a+')
for i in range(2000000) :
  f.write('That is ' + str(i) + '\n')
f.close()


Steps to Reproduce:
1. time    python    b.py

2.
3.
  
Actual results:
On Fedora,
7.808u 3.056s 0:53.09 20.4%     0+0k 0+0io 9910pf+0w


Expected results:
On Redhat9
4.824u 0.180s 0:04.99 100.2%    0+0k 0+0io 0pf+0w


Additional info:

Comment 1 Jeremy Katz 2006-04-26 17:00:54 UTC

*** This bug has been marked as a duplicate of 188327 ***