[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: very slow usb 2.0



ok, just for the record: removed the "ub" module from the kernel and now I copied the same 698MB file in one and a half minutes!
great.
thanks a lot, another problem solved.
linux rocks.
roberto


On 9/25/05, John covici <covici@ccs.covici.com> wrote:
I don't know of that the kernel is faster if you don't use modules, I
seriously doubt its true and for your case it would work much better
-- the module is only loaded once and then its in memory.

on Sunday 09/25/2005 Roberto Winter( rhwinter@gmail.com) wrote
> yeah, I found this: (here:
> http://www.lugod.org/mailinglists/archives/vox-tech/2005-08/msg00024.html)
> To blacklist a module I believe you just add it to
> /etc/hotplug/blacklist. But in the case of ub vs. usb-storage, simply
> blacklisting or hiding the ub module won't do. You actually have to
> rebuild your modules after disabling CONFIG_BLK_DEV_UB.
>
> guess I'll recompile the kernel!...
>
> someone once told me that not having the modules would make my kernel
> faster... is that not true?
> recently I have questioned this approach as I had to compile the kernel over
> and over.
> should I just go back to modules?
>
> thanks a lot!!!
> roberto.
>
> On 9/25/05, Hendrik Sattler < post@hendrik-sattler.de> wrote:
> >
> > Am Sonntag, 25. September 2005 22:26 schrieb Roberto Winter:
> > > First of all I do have hci-hcd, ehci-hcd, and usb-storage compiled in
> > the
> > > kernel. Not as modules though, but that doesn't make a difference.
> > > The thing is that I also hav UB compiled and it is not a module, so I
> > can't
> > > simply unload it. Is there a way to tell the kernel not to load it?
> > > How do I use hotplug for that? Can someone point me a good reference
> > > maybe?... Can I use modutils blacklisting in that case?
> >
> > In this case, you have to recompile your kernel.
> > One more point for using modules. One more point for only compiling in
> > stuff
> > that you know that you'll need it.
> >
> HS
> >
> > --
> > Mein GPG-Key ist auf meiner Homepage verfügbar:
> > http://www.hendrik-sattler.de
> > oder über pgp.net <http://pgp.net>
> >
> > PingoS - Linux-User helfen Schulen: http://www.pingos.org
> >
> yeah, I found this: (here: <a href="" href="http://www.lugod.org/mailinglists/archives/vox-tech/2005-08/msg00024.html"">http://www.lugod.org/mailinglists/archives/vox-tech/2005-08/msg00024.html" >http://www.lugod.org/mailinglists/archives/vox-tech/2005-08/msg00024.html</a>)<br>
> <span style="font-style: italic;">To blacklist a module I believe you just add it to</span><br style="font-style: italic;">
> <span style="font-style: italic;">/etc/hotplug/blacklist.&nbsp; But in the case of ub vs. usb-storage, simply</span><br style="font-style: italic;">
> <span style="font-style: italic;">blacklisting or hiding the ub module won't do.&nbsp; You actually have to</span><br style="font-style: italic;">
> <span style="font-style: italic;">rebuild your modules after disabling CONFIG_BLK_DEV_UB.</span><br>
> <br>
> guess I'll recompile the kernel!...<br>
> <br>
> someone once told me that not having the modules would make my kernel faster... is that not true?<br>
> recently I have questioned this approach as I had to compile the kernel over and over.<br>
> should I just go back to modules?<br>
> <br>
> thanks a lot!!!<br>
> roberto.<br><br><div><span class="gmail_quote">On 9/25/05, <b class="gmail_sendername">Hendrik Sattler</b> &lt;<a href="" href="mailto:post@hendrik-sattler.de">post@hendrik-sattler.de">post@hendrik-sattler.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> Am Sonntag, 25. September 2005 22:26 schrieb Roberto Winter:<br>&gt; First of all I do have hci-hcd, ehci-hcd, and usb-storage compiled in the<br>&gt; kernel. Not as modules though, but that doesn't make a difference.<br>
> &gt; The thing is that I also hav UB compiled and it is not a module, so I can't<br>&gt; simply unload it. Is there a way to tell the kernel not to load it?<br>&gt; How do I use hotplug for that? Can someone point me a good reference
> <br>&gt; maybe?... Can I use modutils blacklisting in that case?<br><br>In this case, you have to recompile your kernel.<br>One more point for using modules. One more point for only compiling in stuff<br>that you know that you'll need it.
> <br>
> </blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">HS<br><br>--<br>Mein GPG-Key ist auf meiner Homepage verfügbar: <a href="" href="http://www.hendrik-sattler.de">http://www.hendrik-sattler.de">
> http://www.hendrik-sattler.de</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oder über <a href="" href="http://pgp.net"">http://pgp.net">pgp.net</a><br><br>PingoS - Linux-User helfen Schulen: <a href="" href="http://www.pingos.org"">http://www.pingos.org">http://www.pingos.org</a><br></blockquote></div><br>

--
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com


Reply to: