On Wed, Aug 5, 2009 at 3:27 PM, Darren J Moffat<[email protected]> wrote: > Martin Bochnig wrote: >> >> On Wed, Aug 5, 2009 at 4:16 PM, Alexander Eremin<[email protected]> wrote: >>> >>> Also we can divided these scripts for x86/64 and sparc versions - now >>> all stuff on one >> >> >> Doing this for entire ramdisk images (IA32 vs. AMD64 and sun4u vs. >> sun4v) is certainly a good idea, as we discussed before. >> But for scripts it would be against the design of Solaris / SVR4 / >> POSIX / everything good. > > I don't agree. The scripts that Roland is talking about are ones delivered > as part of the operating system. The fact that they are a script is an > implementation detail that the end user or admin is not supposed to know > about or care about and more importantly they aren't supposed to take > advantage of it either. > > "No user serviceable parts inside" > > We can do do change the implementation of programs that have committed > output between shell, perl, C, Java. > > Providing that shcomp can guarantee 100% compatibility of execution I see no > reason not to use it for core system things like /lib/svc/method if it can > save us space and improve execution time. > > However I don't think this should be something that IPS is responsible for > in the specific case of shell scripts. We should IMO either never use > shcomp for a given path or always use it. > > -- > Darren J Moffat >
You don't agree? Fine. How much is the cost? How many kb would be freed? Just add a single additional driver module (depending on file size) all the gain or a multiple of it is away in one step. Also: In case of the existing clofi compression livemedia approach currently in use since Moinak developed it, the compression is equal or higher (depending on algo settings used for compression). And even the layout of the iso9660 fs can be optimized for highest throughput. Performance is quite good. And you might not imagine, how important it can be to have the scripts in /lib/svc/method be present in plain text, especially if "something" goes wrong. IPS is not scriptable, then you support converting a fw kb's into compiled code, next you add winnt.vxd?? -- Martin Bochnig _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
