* [uml-devel] UML - stalling during large file transfers
@ 2005-01-21 6:52 Gerhard Hannemann
2005-01-21 11:55 ` Blaisorblade
0 siblings, 1 reply; 2+ messages in thread
From: Gerhard Hannemann @ 2005-01-21 6:52 UTC (permalink / raw)
To: user-mode-linux-devel
[-- Attachment #1.1: Type: text/plain, Size: 985 bytes --]
Encountered a baffling problem while copying large amounts of files from
a archive (*.tbz) or from a remote system to a directory within a
running UML system. The UML stalls while the IDE hardrive thrashes along
for server minutes. It recovers, continues on with some more files, and
stall again. While this is happening, all maternity's connected to that
UML just freeze.
The host system is perfectly accessible and on show minimal CPU usages.
A running top session within the UML also show low CPU and moderate
memory usage. However the UML's load increases up to 3.x for several
minutes and then recovers.
System Data:
Host:
AMD Athlon 2.1Ghz running Gentoo using 2.6.9 kernel with skas3 patch.
1 SCSI 18G drive (boot drive) and one IDE 15G drive.
1G tmpfs
UML:
Vanilla 2.4.27 UML kernel (patched of UML usage)
3G file system and 512M swap.
The UML is run using 512M of mem.
The UML runs from the IDE drive.
Thanks
[-- Attachment #1.2: Type: text/html, Size: 1317 bytes --]
[-- Attachment #2: "AVG certification" --]
[-- Type: text/plain, Size: 141 bytes --]
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.1 - Release Date: 19/01/2005
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [uml-devel] UML - stalling during large file transfers
2005-01-21 6:52 [uml-devel] UML - stalling during large file transfers Gerhard Hannemann
@ 2005-01-21 11:55 ` Blaisorblade
0 siblings, 0 replies; 2+ messages in thread
From: Blaisorblade @ 2005-01-21 11:55 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Gerhard Hannemann
On Friday 21 January 2005 07:52, Gerhard Hannemann wrote:
> Encountered a baffling problem while copying large amounts of files from
> a archive (*.tbz) or from a remote system to a directory within a
> running UML system. The UML stalls while the IDE hardrive thrashes along
> for server minutes. It recovers, continues on with some more files, and
> stall again. While this is happening, all maternity's connected to that
> UML just freeze.
> The host system is perfectly accessible and on show minimal CPU usages.
> A running top session within the UML also show low CPU and moderate
> memory usage. However the UML's load increases up to 3.x for several
> minutes and then recovers.
> System Data:
>
> Host:
> AMD Athlon 2.1Ghz running Gentoo using 2.6.9 kernel with skas3 patch.
> 1 SCSI 18G drive (boot drive) and one IDE 15G drive.
> 1G tmpfs
> UML:
> Vanilla 2.4.27 UML kernel (patched of UML usage)
> 3G file system and 512M swap.
> The UML is run using 512M of mem.
> The UML runs from the IDE drive.
I've just read the beginning, however I suspect you are running a
not-up-to-date UML with the kernel option "CONFIG_BLK_DEV_UBD_SYNC" or the
option "ubd=sync" on the command line. Until a little time ago, that meaned
that the write requests (which are synchronous) were executed by the UML
kernel and not by the separate thread used normally.
The workaround is to recompile disabling that option, and adding for each UBD
the 's' option (i.e. ubd0= becomes ubd0s= and so on). So, you still get the
safety without the slowdown.
This workaround is not needed in recent UML versions (for instance 2.6.9-bs5
is surely ok, I don't remember if stock 2.6.9 already has the fix). The fix
has not yet been backported to 2.4 (although it's easy).
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-21 11:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-21 6:52 [uml-devel] UML - stalling during large file transfers Gerhard Hannemann
2005-01-21 11:55 ` Blaisorblade
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.