Re: Deleting files extremely slow since OSX High sierra

2018-04-23 Thread Andreas Falkenhahn
On 23.04.2018 at 05:11 Alex Zavatone wrote:

> Seriously.  Why aren’t people fired for shipping garbage like this?  

Probably because the terms "shipping" and "production build" have lost
much of their significance because fixes can be "shipped" all the time
at absolutely no cost. It's just a push of a button.

Back in the day when new OS versions were shipped on physical media
and put into store shelves, you had to test things *very* carefully
to make sure it was alright. Otherwise heads would surely have rolled
if a company were forced to withdraw millions of media from the shelves.

But today you can just slap out update after update after update and
see what happens. Let's face it, in 2018 we've all become beta testers,
like it or not. It's just so much cheaper than having to do all the testing
inside the company that everybody does it.

-- 
Best regards,
 Andreas Falkenhahnmailto:andr...@falkenhahn.com

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Deleting files extremely slow since OSX High sierra

2018-04-23 Thread Igor Mozolevsky
On 22 April 2018 at 20:55, Vojtěch Meluzín 
wrote:




> Since
> OSX High sierra deleting these files became extremely slow, almost like the
> OSX is checking the bundles after every change. On some computers it also
> blocks write access to the files inside these bundles (e.g. if the
> installer is used again). It almost seems like some pseudosecurity measure
> gone wrong, not the first time on OSX after all...
>
> Any ideas what is going on?




Shooting in the dark here, what's the FS, I wonder if it's the new
filesystem that's propagating size changes all the way up to /



-- 
Igor M.
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Deleting files extremely slow since OSX High sierra

2018-04-23 Thread Steve Mills

> On Apr 22, 2018, at 23:22:25, Rob Petrovec  wrote:
> 
> I am not hitting these issues and I use APFS on all my partitions.  I don’t 
> have any third party system mods installed on my machine.  Maybe its not the 
> file system, but some app you have installed that is effecting the OS?  
> Wouldn’t be the first time that has happened.

Oh, it's the file system.

> Have any of you filed bug reports about the issues you are seeing, including 
> but not limited to a sysdiagnose, spindump, Instruments System Trace taken 
> _while_ the slowness was occurring.

Yes. It's still open.

--
Steve Mills
Drummer, Mac geek

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Deleting files extremely slow since OSX High sierra

2018-04-23 Thread Mike Throckmorton
Try replacing FSDeleteObject with [[NSFileManager defaultManager] 
removeItemAtPath: pth error: &erro];

Worked for me.

Delete of folder containing 7500 files went from reay slow down to nice and 
quick.

I also found that other older FSRef based api's got slow.

Sandboxing? Discouraging use of elderly API's?

Time to ditch the old stuff anyway.

Vojtûch Meluzín Sunday, April 22, 2018 9:55 PM

> Hi,
> 
> I have a custom installer, which places various audio plugins (bundles)
> onto the target system and as an uninstaller it removes them. It manages
> them the same way as any other folder (containing folders and files). Since
> OSX High sierra deleting these files became extremely slow, almost like the
> OSX is checking the bundles after every change. On some computers it also
> blocks write access to the files inside these bundles (e.g. if the
> installer is used again). It almost seems like some pseudosecurity measure
> gone wrong, not the first time on OSX after all...
> 
> Any ideas what is going on? For the record I'm using FSDeleteObject to
> delete files/folders, I know deprecated, but I don't see a reason for
> messing up with new API if the old one works.
> 
> Thanks in advance.
> Vojtech
> ___
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/mike1throckmorton%40gmail.com
> 
> This email sent to mike1throckmor...@gmail.com
---
Mike Throckmortonmike1throckmor...@gmail.com
Software Engineer
My Mac running Mac OS X has been up 4 days,

running Mac OS X and it's starting to drift.

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Deleting files extremely slow since OSX High sierra

2018-04-23 Thread Dave
> 
>> Recently I reported a text failure in Mail, added instructions and a sample 
>> to reproduce it.  They reported it fixed.  I spent my time to check on the 
>> latest Mac OS and it’s not fixed.  I marked the bug as Still Open As 
>> Written.  Nothing’s been done about it since.  My time has been triply 
>> wasted as a result.  
>   How long ago did you mark it SOAW?  No offense but if there hasn't been 
> a full OS release cycle since then I think you may be a little overly 
> critical, cynical and impatient.  As I said above, getting a bug into a 
> software update is very difficult.  The reward has to be significantly higher 
> then the risk.  So maybe it will get fixed in the next major release or they 
> are having trouble reproducing or something benign like that?
> 
> 
>> I don’t have time to professionally do Apple’s job for them and they aren’t 
>> paying me to.
>   I agree.  However, you also can’t expect Apple to be able to test all 
> possible configurations or scenarios.  That would be physically & 
> statistically impossible.  That is one reason they have the beta program, to 
> get a wider audience before the public release.  Without (well written) bug 
> reports from devs, they may never know about issues like this.  Especially 
> since issues like this are highly configuration dependent.
> 

Why not? They used to do a *much* better job when they had much lesser 
resources, now they are rich they really couldn’t care less. 

I agree with Alex, reporting bugs in a total waste of time these days.



___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com