IDE HDD via SMB very slow [solved]

Página 1/4
| 2 | 3 | 4

Por ro

Scribe (4530)

Imagen del ro

03-01-2021, 15:42

Well, well. After using blueMSX for yeaaaars (it's an awesome emulator) I once again found myself lurking in the openMSX caves to look for treasures. I finally spend some more time getting to know the emu and am impressed. I'm a cli guy, so the command line is neat Smile

openMSX is sure more complex in usage than blue, but I'm willing to take the dive.

I've used IDE HDD on blue for my projects, and it's on an SMB shared location in my network. Has worked so fine, I connect from several computers to that share. nice.

But, openMSX doesn't seem to like it. I just crashes when starting the emu with hda "\\filelocation\hd.dsk" Sad
Put'n the file localy on my machine works, tho. Runnin .dsk files from SMB shares is fine.

It hangs while starting the emu, not even getting the "calculating hash" message.

Login sesión o register para postear comentarios

Por Parn

Hero (659)

Imagen del Parn

03-01-2021, 16:47

Since you are using backslashes, I believe you're using Windows. In that case, I'd suggest you to connect to the network share as a drive as a workaround.

Por ro

Scribe (4530)

Imagen del ro

03-01-2021, 22:01

Actually, I do use a drivemaping

Por Manuel

Ascended (18233)

Imagen del Manuel

04-01-2021, 00:28

What happens if you use drivemapping and then: hda J:/my.dsk?

Por ro

Scribe (4530)

Imagen del ro

04-01-2021, 07:08

Thaz what I do. it will crash

Por Manuel

Ascended (18233)

Imagen del Manuel

04-01-2021, 08:26

Can someone help to debug this? No active openMSX core developer runs Windows at the moment...

Por ro

Scribe (4530)

Imagen del ro

04-01-2021, 09:05

right, I have an existing 4x32MB HD on a network share. Digging in a bit further and found out what happens.
The HD on SMB works, but it just takes a freaking long time to "calculate the hash". about 2 mins. After that, it starts.

Can we disable the hash calc without damage?

here's how I start it
openmsx.exe -ext ide -machine Panasonic_FS-A1ST -hda "f:\MSXHardDisk2.dsk"

Por sdsnatcher73

Prophet (2313)

Imagen del sdsnatcher73

04-01-2021, 09:55

Yeah the hash calculation can be quite time consuming. Especially with larger images.

Por Manuel

Ascended (18233)

Imagen del Manuel

04-01-2021, 10:24

The default is a 100MB image and hash calculation normally takes less than a second... So your 4x32MB is practically the same size. But perhaps it's very inefficient over SMB, making it take a much longer time?

The hash calculation is done to known whether reverse is safe for your harddisk image. Without it, you have a high risk of harddisk image corruption when using reverse. If you don't care about reverse (e.g. when using HD images), you can turn it off.

Por ro

Scribe (4530)

Imagen del ro

04-01-2021, 10:49

Yeah, getting sha1 hash of a file on SMB seems pretty slow indeed. I've tested it with powershell, it's faster than openMSX doing that, but still takes about 20sec.

Hmm, I like reverse while coding very much but can do without it. Also, I can make a local copy. I'll see. Atleast now I know why, how and why not.

And, how do I turn hashing of? couldn't find it that quick...

Por Manuel

Ascended (18233)

Imagen del Manuel

04-01-2021, 13:28

You can't. You can only turn reverse off completely.

Página 1/4
| 2 | 3 | 4