Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Nadav Har'El
On Wed, Nov 03, 2004, Dvir Volk wrote about Re: Why not using global variables 
considered thread-safe ?:
 On a 1-CPU machine, when you have global variables such as ints or 
 floats, isn't reading and writing them atomic, and needs no locking?
 what are the general rules this issue?

This is a complicated issue, and depends on the details of the CPU (i.e.,
different in different CPUs) and how it implements different C instructions
that you consider reading and writing.

For example, what happens when you do var += 3? Is this reading and
writing and therefore don't need locking? Of course not:

A certain CPU's assembly
language might look something like

load var/* load var into register */
add 3   /* add 3 to the register */
store var   /* store back into var */

A context switch, even on a one CPU machine, might occur in the middle of this
process, e.g., just before the store var, and cause a modification of the
same var in a different thread to be lost when we return to this thread and
finally do this store var.

C Instructions which happen to be one machine instruction on your CPU, e.g.,
var++ or var=3, *are* guaranteed to be ok on a one-CPU machine. But even
those things are *not* guaranteed to be ok on an SMP (multi-CPU) machine.
Linux has an include file, atomic.h, which guarantees various atomic
operations which will work correctly even on SMP machines.

-- 
Nadav Har'El|   Wednesday, Nov 3 2004, 19 Heshvan 5765
[EMAIL PROTECTED] |-
Phone +972-523-790466, ICQ 13349191 |Arguing with nyh just doesn't pay off.
http://nadav.harel.org.il   |-- Muli Ben-Yehuda, Linux-il list

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Nadav Har'El
On Wed, Nov 03, 2004, Oleg Goldshmidt wrote about Re: Why not using global variables 
considered thread-safe ?:
  On a 1-CPU machine, when you have global variables such as ints or
  floats, isn't reading and writing them atomic, and needs no locking?
 
 Absolutely not! 
 
 1) It is not just reading and writing. Consider, say, incrementing a
global variable. It involves a number of operations: fetch from
memory into a register, add 1, write back into memory. If there is
a context switch in between you are in trouble.
 
 2) What if your memory bus has width less than the width of int? Even
reads and writes will not be atomic. Now, how wide are your floats?

The latter is a problem on SMPs, but not on single-CPU machines; Context
switches are guarenteed to happen after complete machine instructions are
complete and the instruction and data queues are completely drained - and
not while machine instructions are still in the middle of being processed.

Of course, some hypothetical machines might have types that do not have
machine instructions to handle them - e.g., a hypothetical machine might
not have a single machine instruction to write to a 64-bit double, and
you need two 32-bit instructions to do that. In that case, you are right.
But I am not aware of any modern CPU that has such an issue.


-- 
Nadav Har'El|   Wednesday, Nov 3 2004, 19 Heshvan 5765
[EMAIL PROTECTED] |-
Phone +972-523-790466, ICQ 13349191 |I couldn't afford a cool signature, so I
http://nadav.harel.org.il   |just got this one.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Who wants the admin password for the OpenSVN linuxisrael repository?

2004-11-03 Thread Shlomi Fish
On Tuesday 02 November 2004 18:08, you wrote:
 Hi all!

 I opened a repository at opensvn.csie.org for Israeli Linux activities. At
 the moment I'm the only one who has the admin password, but I wish that at
 least someone else will have it as well. So if you want it please say so.

 The repository root is:

 http://opensvn.csie.org/linuxisrael/

 And managing it is done from:

 https://opensvn.csie.org/


OK, just a few clarifications. This is a Subversion[1] repository, where 
Subversion is a version control tool similar to CVS (only much better). It is 
hosted at opensvn.csie.org, and managed there. I need someone to be able to 
co-admin the repository - add users, change passwords, etc, and for that I 
need to give someone the admin password.

Regards,

Shlomi Fish

[1] - http://subversion.tigris.org/

 Regards,

   Shlomi Fish

-- 

-
Shlomi Fish  [EMAIL PROTECTED]
Homepage:http://www.shlomifish.org/

Knuth is not God! It took him two days to build the Roman Empire.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Oleg Goldshmidt
Nadav Har'El [EMAIL PROTECTED] writes:

 On Wed, Nov 03, 2004, Oleg Goldshmidt wrote about Re: Why not using global 
 variables considered thread-safe ?:
   On a 1-CPU machine, when you have global variables such as ints or
   floats, isn't reading and writing them atomic, and needs no locking?
  
  Absolutely not! 
  
  1) It is not just reading and writing. Consider, say, incrementing a
 global variable. It involves a number of operations: fetch from
 memory into a register, add 1, write back into memory. If there is
 a context switch in between you are in trouble.
  
  2) What if your memory bus has width less than the width of int? Even
 reads and writes will not be atomic. Now, how wide are your floats?
 
 The latter is a problem on SMPs, but not on single-CPU machines; Context
 switches are guarenteed to happen after complete machine instructions are
 complete and the instruction and data queues are completely drained - and
 not while machine instructions are still in the middle of being processed.
 
 Of course, some hypothetical machines might have types that do not have
 machine instructions to handle them - e.g., a hypothetical machine might
 not have a single machine instruction to write to a 64-bit double, and
 you need two 32-bit instructions to do that. In that case, you are right.
 But I am not aware of any modern CPU that has such an issue.

Nadav,

You may be right - I cannot make a definite statement without checking
further. However, I have a suspicion that while your statement may be
correct for normal types of CPUs and maybe even is part of POSIX or
some other standard, it is not universal. *Possible* exceptions may
include wide types [1], process architectures that do not guarantee
word-alignment [2], and other pathologies.

[1] even primitive types wider than int, such as long and double;
AFAIK Java manuals specifically warn that there is no atomic
access to longs and doubles unless you declare them volatile.  

[2] yes, there are some, your ints may be not word-aligned

-- 
Oleg Goldshmidt | [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Who wants the admin password for the OpenSVN linuxisrael repository?

2004-11-03 Thread amos
I might have a use for such a server for a project I'd like to
share on the net (a-la sourceforge but with SVN).
A tcptraceroute shows that it's located in Taiwan. Is it
a reliable server with reliable conneciton? Is it praticle
to relay on it?
Thanks,
--Amos
Shlomi Fish wrote:
On Tuesday 02 November 2004 18:08, you wrote:
Hi all!
I opened a repository at opensvn.csie.org for Israeli Linux activities. At
the moment I'm the only one who has the admin password, but I wish that at
least someone else will have it as well. So if you want it please say so.
The repository root is:
http://opensvn.csie.org/linuxisrael/
And managing it is done from:
https://opensvn.csie.org/

OK, just a few clarifications. This is a Subversion[1] repository, where 
Subversion is a version control tool similar to CVS (only much better). It is 
hosted at opensvn.csie.org, and managed there. I need someone to be able to 
co-admin the repository - add users, change passwords, etc, and for that I 
need to give someone the admin password.

Regards,
Shlomi Fish
[1] - http://subversion.tigris.org/

Regards,
	Shlomi Fish


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: max user processes

2004-11-03 Thread Ben-Nes Michael

 On 02 Nov 2004 11:06:12 +, Oleg Goldshmidt [EMAIL PROTECTED] wrote:

  Ben-Nes Michael [EMAIL PROTECTED] writes:
 
  Hi All
 
  how do i raise the parameter of max user processes ?
 
  # ulimit -a
  max user processes(-u) 256
 
  setrlimit(2)
 



How do I make it a default value when OS boot ? ( i mean not thrugh rc.local
/ rc.boot ... )

 ulimit -u 512



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Shachar Shemesh
Oleg Goldshmidt wrote:
[1] even primitive types wider than int, such as long and double;
   AFAIK Java manuals specifically warn that there is no atomic
   access to longs and doubles unless you declare them volatile.  
 

On the 68000 all datatypes are 8, 16 or 32 bits wide. The actual bus, 
however, is only 16 bits wide. Even a simple 32 bit integer (natively 
supported by the CPU) does not guarantee atomicness.

[2] yes, there are some, your ints may be not word-aligned
 

Well, if you just compiled them, they are pretty sure to be ok. If you 
got them through a pointer, however, they may be unaligned (depending on 
who generated them).

Intel doesn't enforce integral boundaries. Motorola 68000 did, but only 
on 16 bit boundaries (because that was it's bus width). Then 68020 had 
32 bit bus, and it had to be ok with non-aligned integers or programs 
written for the 68000 wouldn't work, so it stopped enforcing them as 
well. As an Amiga owner, I had problems with programs written for 68020 
trying to access 16 bit values on 8 bit boundaries, which would work on 
68020 but not on 68000. Guru meditation 8003 - CPU unaligned access 
error.

 Shachar
--
Shachar Shemesh
Lingnu Open Source Consulting ltd.
http://www.lingnu.com/
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Nadav Har'El
On Wed, Nov 03, 2004, Shachar Shemesh wrote about Re: Why not using global variables 
considered thread-safe ?:
 Oleg Goldshmidt wrote:
 
 [1] even primitive types wider than int, such as long and double;
AFAIK Java manuals specifically warn that there is no atomic
access to longs and doubles unless you declare them volatile.  
  
 
 On the 68000 all datatypes are 8, 16 or 32 bits wide. The actual bus, 
 however, is only 16 bits wide. Even a simple 32 bit integer (natively 
 supported by the CPU) does not guarantee atomicness.

Again, I believe you're mixing in issues which are relevant on SMPs, but not
on a single-CPU machine (which was the topic of this discussion).
The bus might be even 1-bit wide for all I care, but when a single machine
instruction completes (or, on pipelined architechture, which the pipeline is
empty), all the relevant data was already moved on the bus.
When a single-CPU machine does a context switch, it doesn't do it in the
middle of a machine instruction, it does it afterwards. So this is *not* a
problem if 32 bit integers are natively supported by the CPU (i.e., there
are machine instructions which operate on them) like you said.

But, like I mentioned, there might be hypothetical machines which don't have
any 32 bit (or 64 bit, or whatever) instructions, and when you write
double d=0.0;
in C, which actually gets done in machine language are two instructions which
separately set the two halfs of the data. In such a case, indeed a context
switch might happen between the two halfs. But, like I said, I don't know of
any modern CPU on which this happens for C's usual types (long, double, etc.).

Anyway, this problem - related to bus widths and cache-line lengths, is
indeed very real on SMP machines (though, if I remember correctly, they
aren't a problem on Pentium SMPs).

-- 
Nadav Har'El|   Wednesday, Nov 3 2004, 19 Heshvan 5765
[EMAIL PROTECTED] |-
Phone +972-523-790466, ICQ 13349191 |In case of emergency, this box may be
http://nadav.harel.org.il   |used as a quotation device.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: max user processes

2004-11-03 Thread Oleg Goldshmidt
Ben-Nes Michael [EMAIL PROTECTED] writes:

  On 02 Nov 2004 11:06:12 +, Oleg Goldshmidt [EMAIL PROTECTED] wrote:
 
   Ben-Nes Michael [EMAIL PROTECTED] writes:
  
   Hi All
  
   how do i raise the parameter of max user processes ?
  
   # ulimit -a
   max user processes(-u) 256
  
   setrlimit(2)
  
 
 
 
 How do I make it a default value when OS boot ? ( i mean not thrugh rc.local
 / rc.boot ... )

Recompile the kernel?

Can you explain why rc.local (and by extension anything within
initscripts, I presume) is not acceptable? After all, it is a part of
the normal boot process. Whatever interface or configuration file - if
any - you will use will be invoked (or read) at the init stage, I
think.

Normally, ulimit is invoked by /etc/profile and the equivalent, but I
suppose you will consider it too late.

If your system uses pam, maybe looking at /etc/security/limits.conf
will help. 

-- 
Oleg Goldshmidt | [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Shachar Shemesh
Nadav Har'El wrote:
When a single-CPU machine does a context switch, it doesn't do it in the
middle of a machine instruction, it does it afterwards.
This sentance is not universally true, though I don't have details of 
contradicting examples on hand. Yes, astonishing as it may sound, some 
CPUs save their internal state on interrupt, and resume mid-operation. 
That is, unless my memory is playing tricks of me (which is not impossible).

But, like I mentioned, there might be hypothetical machines which don't have
any 32 bit (or 64 bit, or whatever) instructions, and when you write
double d=0.0;
in C, which actually gets done in machine language are two instructions which
separately set the two halfs of the data. In such a case, indeed a context
switch might happen between the two halfs. But, like I said, I don't know of
any modern CPU on which this happens for C's usual types (long, double, etc.).
Anyway, this problem - related to bus widths and cache-line lengths, is
indeed very real on SMP machines (though, if I remember correctly, they
aren't a problem on Pentium SMPs).
 


--
Shachar Shemesh
Lingnu Open Source Consulting ltd.
http://www.lingnu.com/
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Oleg Goldshmidt

Here is another potential issue:

http://www.lambdacs.com/cpt/MFAQ.html#Q156

In any case, the whole point is moot: one should *never* write code
that will only execute correctly on a single-CPU system and break on
SMP.

-- 
Oleg Goldshmidt | [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Omer Zak


On Wed, 3 Nov 2004, Shachar Shemesh wrote:

 Nadav Har'El wrote:

 When a single-CPU machine does a context switch, it doesn't do it in the
 middle of a machine instruction, it does it afterwards.
 
 This sentance is not universally true, though I don't have details of
 contradicting examples on hand. Yes, astonishing as it may sound, some
 CPUs save their internal state on interrupt, and resume mid-operation.
 That is, unless my memory is playing tricks of me (which is not impossible).

Example which comes to my mind:  80x86 string operations with the rep
prefix.  Those string operations modify SI, DI and memory.  When context
switch occurs and the operation is restarted, it is restarted with the
current values of SI and DI.
 --- Omer
My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: max user processes

2004-11-03 Thread Yedidyah Bar-David
On Wed, Nov 03, 2004 at 01:43:46PM +0300, Ben-Nes Michael wrote:
 
  On 02 Nov 2004 11:06:12 +, Oleg Goldshmidt [EMAIL PROTECTED] wrote:
 
   Ben-Nes Michael [EMAIL PROTECTED] writes:
  
   Hi All
  
   how do i raise the parameter of max user processes ?
  
   # ulimit -a
   max user processes(-u) 256
  
   setrlimit(2)
  
 
 
 
 How do I make it a default value when OS boot ? ( i mean not thrugh rc.local
 / rc.boot ... )

One way is through /etc/initscript - read init(1).
You might also want to use pam_limits through /etc/security/limits.conf.
-- 
Didi


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



AS or ES, is there a difference or is it BS?

2004-11-03 Thread Ira Abramov
Hello friends.

Today I have a question on proprietery software, namely Red Hat.

I'm in Turkey, installing an Oracle RAC cluster on two Red Hat machines.
the guy ordered RHEL 3 AS but until it arrives in the mail (Dell does
not support Emailing licence keys) I installed it on 3 ES because those
were the medias I could find, having no RHN password of my own.

now here is the question. is the AS kernel really better? the only hint
I could get as to what the differences were was not burried even at the
deepest marketing piles on the redhat.com site, but in an independant
guide about optimizing oracle. this paragraph talkes about RHAS 2.1
aactually, but is it true also for RHAS 3?

http://www.puschitz.com/TuningLinuxForOracle.shtml#WhyUsingRedHatAdvancedServer

any opinions and testaments are welcome. also advice about whether
Oracle enjoys or suffers from hyperthreading.

Thanks,
Ira.

-- 
Super fly
Ira Abramov
http://ira.abramov.org/email/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



messages disappearing from hamakor linux-il archives

2004-11-03 Thread Oleg Goldshmidt

Who is maintaining the linux-il archives at Hamakor? Some messages
have only This message has been deleted from the archive in the
body. Examples from today's thread:

http://mirror.hamakor.org.il/archives/linux-il/11-2004/12456.html
http://mirror.hamakor.org.il/archives/linux-il/11-2004/12459.html

These messages do not appear in the thread view in

http://mirror.hamakor.org.il/archives/linux-il/11-2004/index.html

At least this is the case for me (Mozilla on RH9). 

What gives? A bug in hypermail?

By the way, is there any way to search the archives?

-- 
Oleg Goldshmidt | [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: messages disappearing from hamakor linux-il archives

2004-11-03 Thread Maxim Vexler
 By the way, is there any way to search the archives?

There is another mirror for linux-il as linked by IGLU, it also has a
search function (quite useful too) :)

http://www.mail-archive.com/[EMAIL PROTECTED]/

On 03 Nov 2004 16:01:49 +, Oleg Goldshmidt [EMAIL PROTECTED] wrote:
 
 Who is maintaining the linux-il archives at Hamakor? Some messages
 have only This message has been deleted from the archive in the
 body. Examples from today's thread:
 
 http://mirror.hamakor.org.il/archives/linux-il/11-2004/12456.html
 http://mirror.hamakor.org.il/archives/linux-il/11-2004/12459.html
 
 These messages do not appear in the thread view in
 
 http://mirror.hamakor.org.il/archives/linux-il/11-2004/index.html
 
 At least this is the case for me (Mozilla on RH9).
 
 What gives? A bug in hypermail?
 
 By the way, is there any way to search the archives?
 
 --
 Oleg Goldshmidt | [EMAIL PROTECTED]
 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]
 
 


-- 
Maxim Vexler (hq4ever).

[CODE] for i in `..::LINUX::..`; do $i CHANGE THE WORLD; done [/CODE]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



messages disappearing from hamakor linux-il archives

2004-11-03 Thread Oleg Goldshmidt

Who is maintaining the linux-il archives at Hamakor? Some messages
have only This message has been deleted from the archive in the
body. Examples from today's thread:

http://mirror.hamakor.org.il/archives/linux-il/11-2004/12456.html
http://mirror.hamakor.org.il/archives/linux-il/11-2004/12459.html

These messages do not appear in the thread view in

http://mirror.hamakor.org.il/archives/linux-il/11-2004/index.html

At least this is the case for me (Mozilla on RH9). 

What gives? A bug in hypermail?

By the way, is there any way to search the archives?

-- 
Oleg Goldshmidt | [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



RE: Why not using global variables considered thread-safe ?

2004-11-03 Thread Hyams Iftach
Title: RE: Why not using global variables considered thread-safe ?





There are test-and-set instructions for example :
68000 has tas, SPARC has ldstub etc.
Upon return the value is set to the address. The return value varies - if the value really changes or not.


Keep in mind that application for the common desktop could safely assume one CPU but Intel's hyper threading technology break that founding.

Global variables are no option at all as I see it. If a common counter is needed (to indicate a change) a counting semaphore can be used.

Regards,
 Iftach





This e-mail message has been sent by 
Elbit Systems Ltd. 
and is for the use of the intended 
recipients only.The message may containprivileged or commercial 
confidential information .If you are not the intended recipient you are 
hereby notified that any use,distribution or copying of this communication 
is strictly prohibited,and you are requested to delete the e-mail and any 
attachments
and notify the sender 
immediately.



Re: messages disappearing from hamakor linux-il archives

2004-11-03 Thread Oleg Goldshmidt
Maxim Vexler [EMAIL PROTECTED] writes:

  By the way, is there any way to search the archives?
 
 There is another mirror for linux-il as linked by IGLU, it also has a
 search function (quite useful too) :)
 
 http://www.mail-archive.com/[EMAIL PROTECTED]/

Thanks. The missing message problem exists there as well: e.g.

http://www.mail-archive.com/[EMAIL PROTECTED]/msg36756.html

is followed by 

http://www.mail-archive.com/[EMAIL PROTECTED]/msg36758.html

(i.e. msg36757 is missing).

-- 
Oleg Goldshmidt | [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Oleg Goldshmidt
Hyams Iftach [EMAIL PROTECTED] writes:

 There are test-and-set instructions 

Those are normally atomic - that's their whole point, isn't it?

 Keep in mind that application for the common desktop could safely
 assume one CPU but Intel's hyper threading technology break that
 founding.

The OS (and everything above) sees a hyperthreaded processor as
SMP. Try to install a Linux distro such as Red Hat (Enterprise or
Fedora) on a UP Xeon machine - it will pick an SMP kernel, with good
reason. So will Windows.

But let me repeat what I wrote earlier: you can *never* assume one
CPU, with or without hyperthreading. Code that does not work properly
on SMP is *broken*, for the simple reason that someone, somewhere,
*will* try to run it on SMP. And that will lead to a major, prolonged
headache.

-- 
Oleg Goldshmidt | [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: AS or ES, is there a difference or is it BS?

2004-11-03 Thread Tzafrir Cohen
On Wed, Nov 03, 2004 at 03:12:59PM +0200, Ira Abramov wrote:
 Hello friends.
 
 Today I have a question on proprietery software, namely Red Hat.
 
 I'm in Turkey, installing an Oracle RAC cluster on two Red Hat machines.
 the guy ordered RHEL 3 AS but until it arrives in the mail (Dell does
 not support Emailing licence keys) I installed it on 3 ES because those
 were the medias I could find, having no RHN password of my own.

What about RHEL compatibles, such as Whitebox?

Their system and kernel setting should be similar enough to RHEL . And
AS and ES are exactly the same, AFAIK.

And you personally don't need any RHN password.

-- 
Tzafrir Cohen   +---+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]   +---+

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: AS or ES, is there a difference or is it BS?

2004-11-03 Thread Lior Kesos
Well AS ES WS segmentation is mainly a marketing issue.
AS simply has more packages in them but if you check you'll see that
they'll work on an ES or WS as well.
They share the same kenel rpms.

These are the kernels in AS3 and ES3:
kernel-2.4.21-4.EL+1065219896.i686.rpm
kernel-BOOT-2.4.21-4.EL+1065217513.i386.rpm
kernel-hugemem-2.4.21-4.EL+1065219896.i686.rpm
kernel-hugemem-unsupported-2.4.21-4.EL+1065219896.i686.rpm
kernel-pcmcia-cs-3.1.31-13+1043502449.i386.rpm
kernel-smp-2.4.21-4.EL+1065219896.i686.rpm
kernel-smp-unsupported-2.4.21-4.EL+1065219896.i686.rpm
kernel-source-2.4.21-4.EL+1065217513.i386.rpm
kernel-unsupported-2.4.21-4.EL+1065219896.i686.rpm
kernel-utils-2.4-8.37+1063024494.i386.rpm

If you look at http://www.redhat.com/software/rhel/comparison/
You can see that actually the only difference is S390 (mainframe)
support for the AS3 and the last line there claims that es is limited
to -
32-bit systems: 8GB
64-bit systems: 16GB
memory support in the kernel.

Now if it's the same kernel that means that either they install a
different default kernel or there's some magic done in anaconda that
may send different things to init.
Bothe of them have kernel-hugemem so I don't understand how they
create this difference.
Basicly the difference is in the level and possible scalability of
support you recieve.

Now although typical oracle installations can arrive to 8GB and more
of memory if you're not surpassing that limit you have nothing to be
concerned about.

regards -
Lior.

On Wed, 3 Nov 2004 15:12:59 +0200, Ira Abramov
[EMAIL PROTECTED] wrote:
 Hello friends.
 
 Today I have a question on proprietery software, namely Red Hat.
 
 I'm in Turkey, installing an Oracle RAC cluster on two Red Hat machines.
 the guy ordered RHEL 3 AS but until it arrives in the mail (Dell does
 not support Emailing licence keys) I installed it on 3 ES because those
 were the medias I could find, having no RHN password of my own.
 
 now here is the question. is the AS kernel really better? the only hint
 I could get as to what the differences were was not burried even at the
 deepest marketing piles on the redhat.com site, but in an independant
 guide about optimizing oracle. this paragraph talkes about RHAS 2.1
 aactually, but is it true also for RHAS 3?
 
 http://www.puschitz.com/TuningLinuxForOracle.shtml#WhyUsingRedHatAdvancedServer
 
 any opinions and testaments are welcome. also advice about whether
 Oracle enjoys or suffers from hyperthreading.
 
 Thanks,
 Ira.
 
 --
 Super fly
 Ira Abramov
 http://ira.abramov.org/email/
 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]
 
 


-- 
Peace Love and Penguins -
Lior Kesos

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: messages disappearing from hamakor linux-il archives

2004-11-03 Thread Oleg Goldshmidt
Eran Tromer [EMAIL PROTECTED] writes:

 Rejoice! Hypermail is merely respecting an X-No-Archive: Yes header
 (unlike, for example, Uri Sharf's archive of [EMAIL PROTECTED]
 at linmagazine.co.il).

Live and learn... I didn't know it existed. Shall I consider it a
useful tip from a distinguished security expert? ;-)

-- 
Oleg Goldshmidt | [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: messages disappearing from hamakor linux-il archives

2004-11-03 Thread Nadav Har'El
On Wed, Nov 03, 2004, Eran Tromer wrote about Re: messages disappearing from hamakor 
linux-il archives:
 On 11/03/2004 05:46 PM, Oleg Goldshmidt wrote:
  Who is maintaining the linux-il archives at Hamakor? Some messages
  have only This message has been deleted from the archive in the
  body.
 
 Rejoice! Hypermail is merely respecting an X-No-Archive: Yes header
 (unlike, for example, Uri Sharf's archive of [EMAIL PROTECTED]
 at linmagazine.co.il).

I wonder why it should respect this sort of header. Using a mailing list
is a bargain you make. You gain publicity to what you write, and for it
you lose privacy. That's right: you can't have publicity *and* privacy at
the same time, and usually the balance of privacy and publicity is determined
by the mailing list and its subscribers, not by you.

It's like those people who send mail to a mailing list with a footer saying
this mail is confidential. That's non-sense - when you send a mail to a
busy list, you should expect hundreds of people to read your mail today,
dozens to read it tomorrow when they get to their computer, a few to read
it next week when they have time, some people to save your message on their
disk, and yes - some people also saving the message for posterity, and even
sharing it with others later or shoving it in your face in 10 years. Why
should a special header let you override this natural order? It obviously
won't have any effects on your enemies, who can save your messages nontheless,
so why should it effect your friends?

-- 
Nadav Har'El|   Wednesday, Nov 3 2004, 20 Heshvan 5765
[EMAIL PROTECTED] |-
Phone +972-523-790466, ICQ 13349191 |Two wrongs may not may a right, but three
http://nadav.harel.org.il   |rights make a left.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: messages disappearing from hamakor linux-il archives

2004-11-03 Thread Herouth Maoz
On Wednesday, Nov 3, 2004, at 19:30 Asia/Jerusalem, Nadav Har'El wrote:
I wonder why it should respect this sort of header. Using a mailing 
list
is a bargain you make. You gain publicity to what you write, and for it
you lose privacy. That's right: you can't have publicity *and* privacy 
at
the same time, and usually the balance of privacy and publicity is 
determined
by the mailing list and its subscribers, not by you.
This would be the same as saying Publishing pages on a web site means 
you want to make them public so I shouldn't respect your robots.txt 
file.

There are many reasons why people would not want to archive their 
messages. For example, if the message contains information which is 
transient - relevant now, but will become misleading tomorrow. Or when 
the message is off-topic and they see no value in it being retained.

Herouth
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


adding bidi support

2004-11-03 Thread Aaron
Hi all,

I have been doing music notation with lilypond (www.lilypond.org) for a
number of years. With the help of this group and ivrex as well as the
lilypond users group I was able to acheive hebrew support for
lilypond.http://www.geocities.com/aamehl/

However the effort is less than robust.
Every time a new version of lilypond comes out the hebrew support is
broken.
The problem is that a scheme hacker on the lilypond list, hacked
together some lilypond scheme stuff to get bidi to work. As lilypond's
scheme stuff changes the hack no longer works.

So my question:
I would like a open/standard way of adding bidi support to lilypond so
that I won't need scheme hacks.

Is there a way to create my own customized lilypond that uses freebidi
or some other tool?

Thanks
Aaron


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Bad sectors

2004-11-03 Thread Skliarouk Arieh
Hello,
The hangup is due to IDE device not returning answers (only seems there 
is an error notifications) and kernel having to wait for real error to 
come back. The IDE bus the device is connected to, is blocked as well 
(as not on FireWire or SCSI buses).

You can use dd_rescue (with big fallback block to speed up recovery) to 
recover data, but you can't tell to CDROM to stop block reading attempts 
after some time.

---
Bye,  | Phone: (972)-2-6795364
Arieh | Fax:   (972)-2-6796453

ik wrote:
Hi list,
I mounted a cdrom, and wanted to read it content, but the kernel reported about some 
bad sectors...
The content of the cdrom are images, and i could not kill the imagemagic display 
program, nor umount the cdrom.
And every action I did try to do, hand the system, until I exit the xserver and kill some 
processes and used the eject program as well.
Is there a way to tell the kernel to stop reading the drives when it finds so many 
errors and so many problems ?
If so, how can I do it ?
Thank you for the help,
Ido
 

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]