🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.python
Article #28364

Re: thread 100%

#28364
From: Tomek Kańka
Date: Mon, 12 Dec 2011 11:50
15 lines
1387 bytes
zigi <cezar4846@gmail.com> napisał(a)
> Może rozświetle bardziej temat.
> Mam funkcję listującą katalogi i pliki (plików jest 2 000 000 szt )
> wywoływaną w nowym wątku. Ładnie wszystko chodzi lecz zapycha cały
> procesor.
>
> Może ktoś ma pomysł jak to można rowiązać.
>

Trochę (chyba) obok tematu. Systemy plików nie lubią duzej ilości plików
w katalogu. Kiedyś z tego powodu musiałem zmienić ext2 na ReiserFS. Może
to nie jest problem z Twoim programem, tylko z systemem.

-- 
Tomek
Technical Details
Message-ID: <slrnjebqjq.94u.tom@tomkan.polbi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <d5f76cd1-7b8b-4b4c-b2da-66b212e9cc15@u6g2000vbg.googlegroups.com> <26c1c0ef-4c73-4a07-9001-ced63ae670b7@u5g2000vbd.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: Tomek Kańka <tom@tomkan.eu.org>
Newsgroups: pl.comp.lang.python
Subject: Re: thread 100%
Date: Mon, 12 Dec 2011 11:50:18 +0000 (UTC)
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 16
Message-ID: <slrnjebqjq.94u.tom@tomkan.polbi.pl>
References: <d5f76cd1-7b8b-4b4c-b2da-66b212e9cc15@u6g2000vbg.googlegroups.com> <26c1c0ef-4c73-4a07-9001-ced63ae670b7@u5g2000vbd.googlegroups.com>
NNTP-Posting-Host: host-80-238-125-99.jmdi.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1323690618 29599 80.238.125.99 (12 Dec 2011 11:50:18 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Mon, 12 Dec 2011 11:50:18 +0000 (UTC)
X-User: tomek.kanka
User-Agent: slrn/0.9.9p1 (Linux)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit