EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: Weird rebuilder / NTFS bug  (Read 10158 times)

darkfalz

  • Karma: 0
  • Offline Offline
  • Posts: 4
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 17.0.963.83 Chrome 17.0.963.83
    • View Profile
Weird rebuilder / NTFS bug
« on: 30 March 2012, 17:33 »

My ClrMame is kept in a NTFS compressed folder on a portable HD

My MAME ROMs folder is not compressed.

Since going to 7z, when I rebuild, rebuit files (7z) appear in my ROMs folder with NTFS compression on. Is this because they are temp created in the ClrMame folder and then moved to the ROMs folder?
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 18.0.1025.142 Chrome 18.0.1025.142
    • View Profile
Re: Weird rebuilder / NTFS bug
« Reply #1 on: 30 March 2012, 19:18 »

Ask Windows :)
No joking, cmpro doesn't have any influence on that.
Logged

darkfalz

  • Karma: 0
  • Offline Offline
  • Posts: 4
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 18.0.1025.152 Chrome 18.0.1025.152
    • View Profile
Re: Weird rebuilder / NTFS bug
« Reply #2 on: 11 April 2012, 15:51 »

It's definitely due to the temp folder in ClrMamePro being compressed. I tried to make it uncompressed, but it appears that ClrMamePro removes and recreates the folder so it re-inherits the compressed attribute. I can probably monkey around with the security on it so that it can't be deleted, this might fix it.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 5.1 Safari 5.1
    • View Profile
Re: Weird rebuilder / NTFS bug
« Reply #3 on: 11 April 2012, 17:01 »

why do you actually have a problem with ntfs compression? it does not affect the files within the archives or mame in general...just wondering...
Logged

Zandro

  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 40
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 11.0 Firefox 11.0
    • View Profile
Re: Weird rebuilder / NTFS bug
« Reply #4 on: 13 April 2012, 17:50 »

Speaking of this temp folder, might there be a way to relocate it, instead of needing to use a junction point? This improves the scan speed a noticeable amount when a ramdisk is used. This of course leads to the argument that I should copy the entire install to the ramdisk, but that is impractical in that not every dat is used in each session, and dangerous because of risk for loss of contents due to forgetfulness and/or powerloss.

Edit: Meh, cmpro deletes and recreates the folder on startup, which makes it manual labor to maintain a junction point. Or a batchfile situation:P

Edit 2: sorry for the edits, thanks for the consideration  :P
« Last Edit: 13 April 2012, 19:22 by Zandro »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 5.1 Safari 5.1
    • View Profile
Re: Weird rebuilder / NTFS bug
« Reply #5 on: 13 April 2012, 19:17 »

maybe in a future version. I add it to my list
Logged

darkfalz

  • Karma: 0
  • Offline Offline
  • Posts: 4
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 18.0.1025.162 Chrome 18.0.1025.162
    • View Profile
Re: Weird rebuilder / NTFS bug
« Reply #6 on: 24 April 2012, 22:27 »

why do you actually have a problem with ntfs compression? it does not affect the files within the archives or mame in general...just wondering...

NTFS compressing already compressed files icurs a small overhead with no actual compression benefit.
Logged

darkfalz

  • Karma: 0
  • Offline Offline
  • Posts: 4
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 18.0.1025.162 Chrome 18.0.1025.162
    • View Profile
Re: Weird rebuilder / NTFS bug
« Reply #7 on: 24 April 2012, 22:29 »

Speaking of this temp folder, might there be a way to relocate it, instead of needing to use a junction point?

That would be cool. I keep my collection on an external USB disk, so any extra reading/writing that could be done on the local disk instead would give a marginal speed boost.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Chrome 18.0.1025.162 Chrome 18.0.1025.162
    • View Profile
Re: Weird rebuilder / NTFS bug
« Reply #8 on: 25 April 2012, 15:56 »

why do you actually have a problem with ntfs compression? it does not affect the files within the archives or mame in general...just wondering...

NTFS compressing already compressed files icurs a small overhead with no actual compression benefit.

But that doesn't play a role when the final zip/7z/rar romset is copied to a drive which is not set to ntfs compression. You may have a minimum overhead in cmpro's temp folder, but the final archive file in its final place is the one we have to care about...and if your partition is not ntfs-compressed, then you don't have this overhead.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 18.0.1025.168 Chrome 18.0.1025.168
    • View Profile
Re: Weird rebuilder / NTFS bug
« Reply #9 on: 02 May 2012, 20:33 »

ok...next version got an option to select the temp folder (in cmpro.ini) and decide if it gets initially cleaned.
Logged
Pages: [1]   Go Up
 

Page created in 0.16 seconds with 19 queries.

anything
anything