Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 10-10-2009, 11:14 PM   #1
LQ Newbie
Registered: Oct 2009
Distribution: Debian
Posts: 4

Rep: Reputation: 0
Exclamation Why does bluetooth mouse lag during memory operations?

Story first, full system details down bottom.

I have a Logitech Desktop Revolution MX5500 Bluetooth keyboard and mouse.

Both Keyboard and mouse link via bluetooth to a usb-bluetooth receiver adapter.

When the system is under load, the mouse chunks (not just steady delay). This is most sighted during games, but other things cause it too.

My initial thought was to blame bluetooth, however I believe the bluetooth is built into the receiver, meaning the comp shouldn't have any impact.

The reason I say this is that the bluetooth modules (which are modularised in the kernel) are not loaded! I also saw someone else saying that this on other forums. It also makes sense seeing as no user pairing is required and it worked straight away without extra software even on windoze.

All the usb modules have been loaded (ohci_hcd, ehci_hcd, usbcore, usblp (printer), usbhid). None of the bluetooth ones have been loaded.

There is where it doesn't make sense... IF it is a usb mouse as far as the comp is concerned, why does it lag when system usage is high. IF NOT, then why are there no bluetooth modules loaded.

I used the ``stress'' utility to test what exactly causes it. Stress can stress cpu, mem, hdd, and io.
For cpu/hdd/io, there is not probem, even when all are stressed together.
The problem is CLEAR AS DAY when memory is stressed, just totally dies until the test finishes. The memory stress uses free() and malloc() over and over.

Given this, does anyone know why a MOUSE would lag during memory allocation??? Is the mouse possibly waiting to do a malloc() of its own even just during movement?!?!

Ideally, I'd like a way to change the NICE value of my mouse. My guess is that changing the NICE value of the usbhid module MAY help this, but not sure. Does anyone know how to give priority to modules?

ANY help or insight into possible/likely causes would be appreciated.


===System details===
-Debian squeeze x64 DUAL CORE (amd 3800+)
-Custom kernel 2.6.30
-All packages up to date
-Gnome, fglrx, etc working perfectly
-Most functionality/driver built directly into kernel

-distance to BT receiver: tested ~1m and ~50cm. 50cm seemed SLIGHTLY better, but still is horrible

Bus 002 Device 014: ID 046d:c71c Logitech, Inc.
Bus 002 Device 013: ID 046d:c71b Logitech, Inc.
Bus 002 Device 012: ID 046d:0b06 Logitech, Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
All 3 logitech have product as ``Logitech BT Mini-Receiver'' when doing lsusb -v

Module Size Used by
usblp 12992 0
vboxnetadp 85052 0
vboxnetflt 91612 0
vboxdrv 1696812 2 vboxnetflt
ipv6 287856 38
loop 16140 0
fglrx 2198440 43
usbhid 28032 0
ohci_hcd 22668 0
ehci_hcd 33836 0
usbcore 156432 5 usblp,usbhid,ohci_hcd,ehci_hcd
Old 10-11-2009, 04:13 PM   #2
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
maybe because it takes more processing power then a wired one
and you should be using a wired one
Old 10-12-2009, 02:14 AM   #3
LQ Newbie
Registered: Oct 2009
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: 0
Yeah but if I used that mentality, then I'd still be using windoze.
If you could tell me WHY this bluetooth mouse uses more processing power, given that it appears to interface as USB, then that'd be helpful


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory leak in socket operations. upakul Linux - Networking 2 09-03-2008 10:41 AM
Xorg-server update causes buggy mouse operations w1k0 Slackware 11 07-03-2008 04:10 PM
Mouse Lag kaede Linux - Hardware 2 07-31-2005 05:10 AM
Yet another mouse lag problem gzachariah Linux - Software 5 10-12-2004 10:36 PM
Mouse lag with Mandrake 10.0 Xathin Mandriva 10 06-01-2004 07:13 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration