English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 24 December 2009, 11:36   #1
Shnoober
 
Posts: n/a
Incredibly slow disk access under WinUAE 2.0.1

I just upgraded to the newest version from 1.61 and under my main Workbench config I'm getting incredibly slow disk accesses. However, if I lower the cpu idle slider 1 notch everything goes back to normal. By slow I'm referring to it taking several seconds to open the Prefs drawer versus nearly instantaneous before.

My system is an Athlon 64 3200 with 1gb of ram running XP SP3. I'm attaching the config file I'm using.

Ok, a little more info. I've discovered that when the WinUAE window doesn't have focus(and therefore the priority drops) the speed improves dramatically. For example, DiskSpeed goes from 11 file creates to thousands.
Attached Files
File Type: uae main.UAE (13.8 KB, 173 views)

Last edited by Shnoober; 24 December 2009 at 12:07. Reason: added more info
 
Old 24 December 2009, 12:41   #2
NewDeli
Banned
 
Join Date: Oct 2007
Location: Paris / FRANCE
Age: 50
Posts: 1,248
Send a message via ICQ to NewDeli
in Display tab / Settings / Native mode, I noticed vSync is activated when I loaded your config. Try choosing another (non vSync'ing) mode.
Also, just to make sure, I would leave refresh rate to default, and may be untick NTSC in chipset (even though you live in a NTSC country).
NewDeli is offline  
Old 24 December 2009, 13:09   #3
Kyon
Banned
 
Join Date: Dec 2008
Location: SOS Brigade
Age: 32
Posts: 696
Send a message via MSN to Kyon
i think its a bogus bug . isnt it ?
Kyon is offline  
Old 24 December 2009, 13:17   #4
dlfrsilver
CaptainM68K-SPS France
 
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 46
Posts: 10,412
Send a message via MSN to dlfrsilver
Quote:
Originally Posted by Shnoober View Post
I just upgraded to the newest version from 1.61 and under my main Workbench config I'm getting incredibly slow disk accesses. However, if I lower the cpu idle slider 1 notch everything goes back to normal. By slow I'm referring to it taking several seconds to open the Prefs drawer versus nearly instantaneous before.

My system is an Athlon 64 3200 with 1gb of ram running XP SP3. I'm attaching the config file I'm using.

Ok, a little more info. I've discovered that when the WinUAE window doesn't have focus(and therefore the priority drops) the speed improves dramatically. For example, DiskSpeed goes from 11 file creates to thousands.
Please test now : it should be better :
Attached Files
File Type: uae main.UAE (16.0 KB, 186 views)
dlfrsilver is offline  
Old 24 December 2009, 20:48   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
You mean "below normal" = no slowdown but "normal" = slow?
Toni Wilen is offline  
Old 25 December 2009, 03:08   #6
Shnoober
 
Posts: n/a
Quote:
in Display tab / Settings / Native mode, I noticed vSync is activated when I loaded your config. Try choosing another (non vSync'ing) mode.
Also, just to make sure, I would leave refresh rate to default, and may be untick NTSC in chipset (even though you live in a NTSC country).
Yeah, I've been disabling vsync everytime I load the config but for some reason I've never resaved the config with vsync disabled. Actually, with vsync enabled it won't even get to the Workbench screen.

Quote:
Please test now : it should be better :
No, all that does it put it into cycle-exact mode and disable Picasso96.

Quote:
You mean "below normal" = no slowdown but "normal" = slow?
Normally I use "above normal" when active but I've tried it with normal too. I've done more testing and discovered that it starts out slow, then gets fast when I switch away but when I switch back it seems to be staying fast. I've been examining the process with Process explorer and it looks like at first only 1 thread is getting any cpu time but when I switch to a different process another WinUAE thread starts getting some cpu time and it doesn't give it up when I switch back to WinUAE.

I just tested with 1.6.1 and the second thread starts getting some cpu time right from the start.
 
Old 25 December 2009, 10:29   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Logs please (both logs, don't forget logging checkbox in misc panel). Also test with below normal.
Toni Wilen is offline  
Old 25 December 2009, 10:50   #8
dlfrsilver
CaptainM68K-SPS France
 
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 46
Posts: 10,412
Send a message via MSN to dlfrsilver
I don't understand then because i have no slow problem here.

There has been many enhancements and bugs removed by toni in this version 2.0.1.

What kind of configuration are you using ?
dlfrsilver is offline  
Old 25 December 2009, 12:04   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
This has been reported long time ago but lowering priority has always "fixed" it.

Problem has never been found, one possible suspect is real time virus scanner.
Toni Wilen is offline  
Old 25 December 2009, 12:42   #10
Shnoober
 
Posts: n/a
I did a quick test. Below normal still showed slow speeds but low worked correctly.
Attached Files
File Type: txt winuaebootlog.txt (14.9 KB, 196 views)
File Type: txt winuaelog.txt (14.0 KB, 231 views)
 
Old 25 December 2009, 13:53   #11
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Do you have any virus/spyware/etc with real time scanning enabled? Does filesystem access still run slowly if it is temporarily disabled?
Toni Wilen is offline  
Old 26 December 2009, 06:19   #12
Shnoober
 
Posts: n/a
No virus/spyware or any other kind of scanning. Have other single core users reported problems or am I alone?
 
Old 26 December 2009, 11:18   #13
NewDeli
Banned
 
Join Date: Oct 2007
Location: Paris / FRANCE
Age: 50
Posts: 1,248
Send a message via ICQ to NewDeli
Can you try "unpacking" the HDF ? I mean trying with a Workbench barely located in a directory of your HDD. Also, did you install the latest VIA chipset drivers ?
Seems like a tricky issue.
NewDeli is offline  
Old 26 December 2009, 11:21   #14
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Try http://www.winuae.net/files/b/winuae.zip (using normal priority first)
Toni Wilen is offline  
Old 26 December 2009, 11:42   #15
Kyon
Banned
 
Join Date: Dec 2008
Location: SOS Brigade
Age: 32
Posts: 696
Send a message via MSN to Kyon
Toni its a real bug ?
Kyon is offline  
Old 26 December 2009, 12:14   #16
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Quote:
Originally Posted by Kyon View Post
Toni its a real bug ?
No, it is caused by differences in Windows task scheduler priorities between versions and service packs and cpu types..
Toni Wilen is offline  
Old 26 December 2009, 12:17   #17
Kyon
Banned
 
Join Date: Dec 2008
Location: SOS Brigade
Age: 32
Posts: 696
Send a message via MSN to Kyon
Oh thanks
Kyon is offline  
Old 26 December 2009, 16:43   #18
Shnoober
 
Posts: n/a
Sorry, it's still not working right. I'm starting to wonder if it's not my system which is why I asked if other single core users had reported the same problem. I've noticed that my cpu isn't hitting 100% all the time even though WinUAE says it is and to me that sounds like a problem on my end. In fact it seems to be dipping a few percent whenever disk access is supposed to be happening. This motherboard is a real POS. I would test on my other system but it's currently hard drive-less.
 
Old 26 December 2009, 17:59   #19
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
It could be powersaving problem but afaik it was common problem only with XP and AMD dualcores. Have you tried this: http://support.microsoft.com/kb/895980

Also, to 100% confirm it isn't priority issue, download Sysinternals Process Explorer, select winuae.exe process, open Threads tab.

First item in Threads tab should always have lower Base Priority than other winuae.exe threads (1 unit lower if using 1.6 or 2.0, 2 units lower if above beta)
Toni Wilen is offline  
Old 27 December 2009, 03:51   #20
Shnoober
 
Posts: n/a
I set all the WinUAE priorities to normal so I could switch back and forth with PE without it changing priorities. With 2.0.1 the top thread has a base priority of 8 and the other threads have a priority of 9. With the beta the top thread has a priority of 8 and the other threads have a priority of 10.

Even though the pmtimer switch is only supposed to affect dual cores I'm going to try it anyway to see if it has any effect.

Update: I just tried the /usepmtimer switch and no change.

Last edited by Shnoober; 27 December 2009 at 04:02.
 
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
winuae cdda access time too slow vs cd32 turrican3 support.WinUAE 9 17 November 2012 04:39
WinUAE 2.x.x incredibly slow video-capture issue hexaae support.WinUAE 40 26 December 2009 15:24
disk access in Elite 1 Help riedquat support.WinFellow 6 04 July 2005 20:19
Newbie question: how to access files on an Amiga disk using PC disk drive? Nethead New to Emulation or Amiga scene 5 04 July 2003 23:07
Slow speed Direct HD access Dan Andrea support.WinUAE 3 27 December 2002 14:21

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:32.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.54707 seconds with 14 queries